lib/afterpay/components/merchant.rb in afterpay-0.1.0 vs lib/afterpay/components/merchant.rb in afterpay-0.2.0
- old
+ new
@@ -10,8 +10,14 @@
# @attribute redirect_cancel_url
# @return [String]
# The user to redirected to this URL if the payment process is cancelled.
attr_accessor :redirect_cancel_url
+
+ # @attribute popup_origin_url
+ # @return [String]
+ # URL to receive Javascript callbacks from Afterpay (e.g. onComplete, onShippingAddressChange, etc).
+ # Include the scheme, hostname and port. Port is optional.
+ attr_accessor :popup_origin_url
end
end
end