> For the complete documentation index, see [llms.txt](https://synap.ac/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://synap.ac/docs/platform/portal/checkout.md).

# Checkout

Checkout connects three records: the buyer's Synap account, the payment-provider transaction and the access granted by the Product. A reliable process keeps all three aligned.

### The checkout journey

| Stage         | What happens                                                          | What can go wrong                                                          |
| ------------- | --------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| Account       | The purchase is associated with the person who should receive access. | The buyer signs into the wrong account or creates a duplicate.             |
| Order summary | The Product, amount and currency are confirmed.                       | Storefront and payment information do not match.                           |
| Payment       | The connected provider accepts or declines the transaction.           | Authentication, provider or network issues interrupt the payment.          |
| Confirmation  | The buyer is told whether the purchase succeeded.                     | A page is closed early or success is shown before fulfilment is confirmed. |
| Fulfilment    | Synap grants the access configured on the Product.                    | Payment succeeds but the intended content is not granted.                  |

### Scenarios to test

* Successful payment by a new customer.
* Successful payment by an existing student.
* A declined or cancelled payment.
* Closing the browser during checkout and returning later.
* Repeating the final action or refreshing the confirmation page.
* A refund, chargeback or manually corrected order.
* Payment succeeds but the resulting access needs to be repaired.

{% hint style="warning" %}
For urgent customer support, confirm the payment-provider status and the Synap account separately. Do not ask a customer to pay again until you know whether the first transaction succeeded.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://synap.ac/docs/platform/portal/checkout.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
