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:
Certain browsers don't support some express payment methods. For example, the wallet component doesn't render Apple Pay in Chrome.
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 , shipTo
, and/or billTo
to the checkout-session.
If customers initiate an express checkout, and in the checkout-session containing , the customer's shipping method selection is collected within the . As a result, if the transaction involves physical products and you're using the wallet component, your application needs to implement the payment component.
To create an instance of the wallet component, pass 'wallet'
to .
To attach the wallet component to your DOM, pass the id
of its container to .