- Add
gem 'spree_google_checkout', :git => "git://github.com/railsdog/spree-google-checkout.git"
to Gemfile - Run
rake spree_google_checkout:install
- Run
rake db:migrate
- Create seller account in Google Checkout
- Open
https://sandbox.google.com/checkout/sell/settings?section=Integration
orhttps://checkout.google.com/sell/settings?section=Integration
- remember your merchant ID and merchant key
- set 'API callback URL' to
https://your.spree.site/google_checkout_notification
- select 'Notification as XML'
- Create a billing integration using
http://your.spree.site/admin/payment_methods
and set the merchant ID, etc. - Set
Spree::Config[:allow_ssl_in_production]
to true
- After filling your gateway settings, users can place order through Google Checkout.
- After placing order through Google Checkout, you can charge it or cancel it from Spree admin-panel.