Hyperswitch supports the following global and local buy now pay later payment methods.
How to configure Paylater options (Redirection flow) on Hyperswitch?
"email": "guest@example.com",
"shipping": {
"address": {
"line1": "1467",
"line2": "Harrison Street",
"line3": "Harrison Street",
"city": "San Fransico",
"state": "California",
"zip": "94122",
"country": "US",
"first_name": "John",
"last_name": "Doe"
},
"phone": {
"number": "123456789",
"country_code": "+1"
}
},
"billing": {
"address": {
"line1": "1467",
"line2": "Harrison Street",
"line3": "Harrison Street",
"city": "San Fransico",
"state": "California",
"zip": "94122",
"country": "US",
"first_name": "John",
"last_name": "Doe"
},
"phone": {
"number": "123456789",
"country_code": "+1"
}
}
Klarna In app flow in Hyperswitch is available if you configure Klarna as a payment processor. It provides a superior checkout flow for the customers compared to redirection flow.
To configure Klarna SDK flow, follow these steps. As a prerequisite, you would need to have a merchant account with Klarna. For Klarna SDK, need to add mandatory metaData object while creating a payment (/payments) from your server-side. The metaData object will look something like below.
"metadata": {
"order_details": {
"product_name": "Apple iphone 15",
"quantity": 1
}
}