GuidesLive
Hosted Checkout
Hosted Checkout lets a merchant send customers to a secure Yera Connect payment page.
When to use hosted checkout
- You want a complete hosted payment page.
- You need success and cancel redirects.
- You want backend status and webhook confirmation.
- You do not want to collect card or payment details directly.
Customer redirect flow
1
Create checkout session
Create a checkout session through the API or dashboard.
2
Redirect customer
Send the customer to the checkoutUrl returned by Yera Connect.
3
Confirm payment
Use payment status and webhooks to update the merchant order.
Status handling
- created
- waiting_for_customer_payment
- pending_confirmation
- paid
- failed
- expired