Method: PaymentRecipes::PayPal::SOAP::Action::ExecuteExpressCheckout#do_express_checkout
- Defined in:
- lib/payment_recipes/paypal/soap/action/execute_express_checkout_payment.rb
#do_express_checkout ⇒ Object
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/payment_recipes/paypal/soap/action/execute_express_checkout_payment.rb', line 104 def do_express_checkout do_express_checkout_payment = api.build_do_express_checkout_payment(express_checkout_details) store(:do_express_checkout_response) do response = api.do_express_checkout_payment(do_express_checkout_payment) unless response.success? @error = response.errors response = nil end response end end |