Method: ActiveMerchant::Billing::PaypalExpressResponse#shipping

Defined in:
lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb

#shippingObject



57
58
59
60
61
62
# File 'lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb', line 57

def shipping
  shipping = (@params['UserSelectedOptions']||{})
  {  'amount'   => shipping['ShippingOptionAmount'],
     'name'     => shipping['ShippingOptionName']
  }
end