> For the complete documentation index, see [llms.txt](https://docs.ionicfirebaseapp.com/ionicrestaurantapp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionicfirebaseapp.com/ionicrestaurantapp/payment/stripe.md).

# Stripe

## Stripe Payments

Goto [https://stripe.com](https://stripe.com/).

Create a testing/production account to test the Stripe Payment Gateway. You will need to verify your Stripe account is in 'test' mode, and get test API credentials. You can find Test Secret Key& \_Test Publishable Key in your Stripe Account in Dashboard > API section.

![](/files/-LC8zik2No5gq7Tq-0rm)

Paste*Test Secret Key*& \_Test Publishable Key under src > pages > checkout > checkout.ts.

Genuine card information can't be used in test mode. Instead, use any of the following test card numbers, a valid expiration date in the future, and any random CVV number, to create a successful payment. Each test card's billing country is set to the U.S. If you need to create test card payments using cards for other billing countries, use our [international test cards](https://stripe.com/docs/testing#international-cards).

| NUMBER           | BRAND                 |
| ---------------- | --------------------- |
| 4242424242424242 | Visa                  |
| 4000056655665556 | Visa (debit)          |
| 5555555555554444 | Mastercard            |
| 2223003122003222 | Mastercard (2-series) |
| 5200828282828210 | Mastercard (debit)    |
| 5105105105105100 | Mastercard (prepaid)  |
| 378282246310005  | American Express      |
| 371449635398431  | American Express      |
| 6011111111111117 | Discover              |
| 6011000990139424 | Discover              |
| 30569309025904   | Diners Club           |
| 38520000023237   | Diners Club           |
| 3530111333300000 | JCB                   |

You have successfully added stripe payments to your project.


---

# 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:

```
GET https://docs.ionicfirebaseapp.com/ionicrestaurantapp/payment/stripe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
