Created
May 18, 2011 22:13
-
-
Save rromanchuk/979707 to your computer and use it in GitHub Desktop.
Refunding paypal xpress checkout
This file contains hidden or 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
Paypal.sandbox! | |
r = Paypal::NVP::Request.new(:username => PAYPAL[:username], :password => PAYPAL[:password], :signature => PAYPAL[:signature]) | |
r.request('RefundTransaction', {'TRANSACTIONID' => '2VV74337KH776410C', 'REFUNDTYPE' => 'Full'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment