Session
ids are generated from the backend. To know more about sessions visit the documentation.id
, use that id to checkout the payment.session-id
. This is because the session is the representation of all of the information (including success, and cancel URLs) about the payment to be done.