Created
July 19, 2012 08:25
-
-
Save adamvr/3141560 to your computer and use it in GitHub Desktop.
active_paypal_adaptive_payment patches
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
301,302c301,302 | |
< x.endingDate opts[:end_date].strftime("%Y-%m-%dT%H:%M:%S") | |
< x.startingDate opts[:start_date].strftime("%Y-%m-%dT%H:%M:%S") | |
--- | |
> x.endingDate opts[:end_date].strftime | |
> x.startingDate opts[:start_date].strftime |
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
301,302c301,302 | |
< x.endingDate opts[:end_date].strftime("%Y-%m-%dT%H:%M:%S") | |
< x.startingDate opts[:start_date].strftime("%Y-%m-%dT%H:%M:%S") | |
--- | |
> x.endingDate opts[:end_date].strftime("%FT%T%:z") | |
> x.startingDate opts[:start_date].strftime("%FT%T%:z") |
Pretend that 72b0b6 didn't happen...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gist patches lib/active_merchant/billing/gateways/paypal_adaptive_payment.rb to include the GMT offset in the start and end dates when submitting a preapproved payment request