Express Checkout is a streamlined payment method that allows customers to complete their purchases quickly and easily. It is designed to reduce the number of steps required to finalize a transaction, making it ideal for users who want a fast and efficient checkout experience.
At Ryft, we support Express Checkout through Google Pay and Apple Pay, enabling the embedded SDK to render only the aforementioned payment methods, without displaying the standard card input fields and providing a more efficient checkout experience.
To enable Express Checkout in your Ryft integration, you need to set the expressCheckout.enabled option to true when initializing the Embedded SDK. Below is an example of how to configure this option:
Enable Express Checkout Example
Ryft.init({
publicKey,
clientSecret,
expressCheckout: { enabled: true }, // Enable Express Checkout
applePay: {
merchantName: "Fish & Chips Ltd",
merchantCountryCode: "GB"
}
googlePay: {
merchantName: "Fish & Chips Ltd",
merchantCountryCode: "GB"
},
});