Learn how to receive payments on your application
Product page
Adding product details
Track payments with a request ID
request_id
parameter to track the payment.
This parameter will be sent back to you in the response and in the webhook events.
Use this parameter to track the payment or user in your system.Set a success URL on the checkout session
success_url
parameter.
The user will always be redirected with the following query parameters:session_id
: The ID of the checkout sessionproduct_id
: The ID of the productstatus
: The status of the paymentrequest_id
: The request ID of the payment that you optionally have senthttps://yourwebsite.com/your-return-path?checkout_id=ch_1QyIQDw9cbFWdA1ry5Qc6I&order_id=ord_4ucZ7Ts3r7EhSrl5yQE4G6&customer_id=cust_2KaCAtu6l3tpjIr8Nr9XOp&subscription_id=sub_ILWMTY6uBim4EB0uxK6WE&product_id=prod_6tW66i0oZM7w1qXReHJrwg&signature=044bd1691d254c4ad4b31b7f246330adf09a9f07781cd639979a288623f4394c?
You can read more about Return Urls here.Query parameter | Description |
---|---|
checkout_id | The ID of the checkout session created for this payment. |
order_id | The ID of the order created after successful payment. |
customer_id | The customer ID, based on the email that executed the successful payment. |
subscription_id | The subscription ID of the product. |
product_id | The product ID that the payment is related to. |
request_id | Optional The request ID you provided when creating this checkout session. |
signature | All previous parameters signed by creem using your API-key, verifiable by you. |