New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

spree_ideal

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spree_ideal

  • 2.4.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

SpreeIdeal

Adds iDEAL payment Support to Spree through ABN AMRO Internetkassa's iDEAL Integration.

Installation

Add spree_ideal to your Gemfile:

gem 'spree_ideal', :git => 'git://github.com/arein/spree_ideal.git'

For a specific version use the appropriate branch, for example

gem 'spree_ideal', :git => 'git://github.com/arein/spree_ideal.git', :branch => '2-4-stable'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_ideal:install

Setup

Navigate to Spree Backend/Configuration/Payment Methods and add a new payment method with Provider "Spree::PaymentMethod::Ideal".

Then log into either your testing or production ABN AMRO Internetkassa Back Office here.

Edit the following fields according to this doc:

  • ABN URL: https://internetkassa.abnamro.nl/ncol/test/orderstandard.asp for testing or https://internetkassa.abnamro.nl/ncol/prod/orderstandard.asp for production
  • PSPID: You'll find the PSPID in the footer of the Back Office
  • Accept URL: /ideal/accept
  • Decline URL: /ideal/decline
  • Exception URL: /ideal/exception
  • Cancel URL: /ideal/cancel
  • SHA IN Pass Phrase: Set this in the Back Office under Configuration -> Technical Information -> Data and Origin Verification -> SHA-IN Pass Phrase
  • SHA Out Pass Phrase: Set this in the Back Office under Configuration -> Technical Information -> Transaction Feedback -> SHA-OUT Pass Phrase (may not equal the SHA-IN Pass Phrase)
  • SHA Algorithm: Either "SHA-1", "SHA-256", or "SHA-512", according to the setting in the Back Office under Configuration -> Technical Information -> Global Security Parameters -> Hash Algorithm
  • Shop Base URL:

IMPORTANT:In the backoffice you need to carry out a few actions:

  • Set Configuration -> Technical Information -> Transaction Feedback -> "I would like to receive transaction feedback parameters on the redirection URLs" to YES
  • Set Configuration -> Technical Information -> Transaction Feedback -> "Timing of the request" to "Always Deferred" and "Request Method" to "GET"
  • Set Configuration -> Technical Information -> Transaction Feedback -> "Dynamic e-Commerce parameters" to "ACCEPTANCE", "AMOUNT", "BRAND", "CARDNO", "CURRENCY", "NCERROR", "ORDERID", "PAYID", "PM", "STATUS"

Running the Tests

  1. Install dependencies bundle install
  2. Create a Dummy app bundle exec rake test_app
  3. Change Directory cd spec/dummy
  4. Create a Test Database rake db:create RAILS_ENV=test
  5. Migrate rake db:migrate RAILS_ENV=test
  6. Seed bin/rake db:seed RAILS_ENV=test
  7. Load sample data bin/rake spree_sample:load RAILS_ENV=test
  8. Change Directory cd ../..
  9. Run RSpec rspec spec

Acknowledgements

This repository is inspired by @hefan's Spree Sofort Plugin

License

released under the New BSD License

FAQs

Package last updated on 11 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc