Wallet component
Gain a better of how to create express checkouts using the wallet component
Last updated
Gain a better of how to create express checkouts using the wallet component
Last updated
The wallet component allows customers to initiate an express checkout using any of the following payment methods:
Customers are redirected to that payment provider's interface when they click any component's buttons. There, they designate a shipping and/or billing address, select a payment method, and then authorize it. If payment is successfully authorized, customers are sent back to your site, and Digital River adds the customer's payment sources[]
, shipTo
, and/or billTo
to the checkout-session.
Certain browsers don't support some express payment methods. For example, the wallet component doesn't render Apple Pay in Chrome.
To create an instance of the wallet component, pass 'wallet'
to createComponent()
.
To attach the wallet component to your DOM, pass the id
of its container to mount()
.
If customers initiate an express checkout, and in the checkout-session containing physical products, the customer's shipping method selection is collected within the payment component. As a result, if the transaction involves physical products and you're using the wallet component, your application needs to implement the payment component.