Created
October 11, 2016 09:15
-
-
Save sparrow/ce96613fe1720cae3e4c7123cf364e69 to your computer and use it in GitHub Desktop.
This is a Ruby code snipped that we used for our blog post https://rubygarage.org/blog/how-to-integrate-paypal-into-spree at RubyGarage. It demonstrates how to set up the autocapture feature for Paypal Express Checkout. This code snippet is taken from the Paypal website.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PaypalExpressCheckout < Spree::PaymentMethod | |
def auto_capture? | |
false | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment