Class: Afterpay::Components::Merchant
- Defined in:
- lib/afterpay/components/merchant.rb
Instance Attribute Summary collapse
-
#popup_origin_url ⇒ String
URL to receive Javascript callbacks from Afterpay (e.g. onComplete, onShippingAddressChange, etc).
-
#redirect_cancel_url ⇒ String
The user to redirected to this URL if the payment process is cancelled.
-
#redirect_confirm_url ⇒ String
The user is redirected to this URL on confirmation.
Method Summary
Methods included from Initializable
Methods included from Representable
Instance Attribute Details
#popup_origin_url ⇒ String
URL to receive Javascript callbacks from Afterpay (e.g. onComplete, onShippingAddressChange, etc). Include the scheme, hostname and port. Port is optional.
20 21 22 |
# File 'lib/afterpay/components/merchant.rb', line 20 def popup_origin_url @popup_origin_url end |
#redirect_cancel_url ⇒ String
The user to redirected to this URL if the payment process is cancelled.
14 15 16 |
# File 'lib/afterpay/components/merchant.rb', line 14 def redirect_cancel_url @redirect_cancel_url end |
#redirect_confirm_url ⇒ String
The user is redirected to this URL on confirmation.
9 10 11 |
# File 'lib/afterpay/components/merchant.rb', line 9 def redirect_confirm_url @redirect_confirm_url end |