# 23. Stripe Setup

Stripe payment gateway is fully supported by Foodship products. To connect Stripe payment gateway with your Foodship online ordering system you need your API keys and that is provided by Stripe. Its like pair of secret code which will connect your stripe account with online ordering system . 

 This instruction will guide you on how to generate these api keys from stripe and how to apply them in your Foodship online ordering system.

## Sign in to Stripe


:::tip
This instruction is written with assumption that you already have a stripe account. If you dont have one  already please use [this link](https://dashboard.stripe.com/register) to signup. Stripe generally ask around five to seven simple question to signup. 

:::

To sign in to stripe , please follow the given steps - 

**Step 1 -** Visit stripe website “**stripe.com”** or click [here](https://dashboard.stripe.com/login)

**Step 2 -** Enter the login credentials - **email** | **password** and click on the “**Continue”** button *(for better understanding refer to the below)*

 ![stripe sign in page](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/32082573-2572-4968-9afa-e69dcf87fddf/9e6267ef-131c-45fc-8d07-f79d7eb9543a/image.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20261107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261107T093000Z&X-Amz-Expires=86400&X-Amz-Signature=f4437d71b844837a11090b7a78c79b642a66a6aa1b951c4b64204db027528ff6&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =294x318")**==Result →==** *==You will get successfully **sign in** to your stripe account==*


*Video for your reference 👇🏻*

 ![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/32082573-2572-4968-9afa-e69dcf87fddf/083c4349-71c7-4aad-a0f7-c380a9c578fc/strip.gif?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20261107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261107T093000Z&X-Amz-Expires=86400&X-Amz-Signature=1ad6e72396ecf943635e77bd9a7efb0e38e2784dc2654edde1de95c510f65f4d&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =832x340")



***

## Live mode and Test mode

When you sign up for stripe you get two kind of modes a **Live mode** and a **Test mode**

### Live Mode 

> Live mode is used to charge real credit cards for real transactions. You should use this if your portal is ready to go live for customers. 

### Test mode

> Test mode is used to charge demo credit cards to test your portal’s functionality. test mode cannot process real credit card and will throw an error when attempted.   

### How to switch modes 

> Test mode and live mode both works exactly the same way functionality wise  apart from the being used for testing and production environment.   To turn on test mode simply click the toggle button as shown in image below. In the image below the test mode is off and stripe is operating in live mode.  


 ![Switch between test mode and live mode](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/2d0e099f-d45a-4347-aed8-24eb03c8c1e8/c567a18e-cd23-484a-ad6c-e2b85ab8cf74/image.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20261107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261107T093000Z&X-Amz-Expires=86400&X-Amz-Signature=f27d29c95a6853256da65e14e9b66eca4b7eda40f5ff342c90db945b56e885e1&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

You get two API keys to connect stripe with online ordering - Publishable keys and Secret Keys and you get separate API’s for live mode and test mode. 

| Live keys start from | Test Keys start from |
|----------------------|----------------------|
| Publishable key - pk_live | Publishable key - pk_test |
| Secret key - sk_live | Secret key - sk_test |


> Switching between `Test mode` and `Live mode` on Stripe portal will make no impact on your Foodship portal. Foodship portal connects to Stripe system via API keys and if you use `Test API keys` your portal will work on `Test mode` and if you use `Live API keys` your portal will work on `Live / production mode`. 

## Generate API

To generate live API -

### Live Keys

**Step 1 -** Click on the “**Developers”** button on the top-right corner of the page and select “**API** **keys**”

**Step 2 -** Copy the **Publishable key** (*refer to image below to find publishable key*)

**Step 3 -** Copy the **Secret** **key** (*refer to image below to find secret key*)


 ![Page - from where you can copy both keys](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/32082573-2572-4968-9afa-e69dcf87fddf/c6275733-cabd-47de-a15b-93bc6d8352c2/Untitled%20%281898%20%C3%97%20866%20px%29%20%2812%29.gif?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20261107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261107T093000Z&X-Amz-Expires=86400&X-Amz-Signature=b4f2e0c7faf6a0cccd99b3c86a9491c041dfb679591bfae931d644f880eb09d3&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =832x379")


:::tip
*You can only reveal / see secret key once. If you miss to copy and paste it, you will have to roll out existing key by clicking on 3 dots in front of secret key to generate new secret key. note: when you roll existing secret key the old key will stop working.* 

:::


**Step 4 -** Paste both keys on the admin portal of Foodship.


:::info
*To know, how to paste publishing and stripe keys on the admin portal of Foodship →* [*click here*](https://foodship.getoutline.com/doc/stripe-setup-RDAuPDxhZ0/edit#h-stripe-setup-in-foodship)

:::



***

### Test Keys 

Test keys are used to test integrations with your stripe API through demo cards.

To generate test keys, you have to simply enable “**test mode**” → follow the steps below to test integrations with your stripe account.

**Step 1 -** Click on the “**Developers”** button on the top-right corner of the page and **enable “test mode”**

**Step 2 -** Copy the **Publishable key** (*mentioned in the image below, from where you can copy publishing keys*)

**Step 3 -**Copy the **Secret** **key** (*mentioned in the image below, from where you can copy secret keys*)

 ![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/32082573-2572-4968-9afa-e69dcf87fddf/daa6eb63-4366-4f7c-8dd2-86be13f4d58f/Untitled%20%281898%20%C3%97%20866%20px%29%20%2811%29.gif?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20261107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261107T093000Z&X-Amz-Expires=86400&X-Amz-Signature=b1c457acc8638f249f520bcb3c987d94592040cab6c162c7aa4ec9b8e5baa6d5&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)


**Step 4 -** Paste both keys on the admin portal of Foodship.


:::info
*To know, how to paste publishing and stripe keys on the admin portal of Foodship →* [*click here*](https://foodship.getoutline.com/doc/stripe-setup-RDAuPDxhZ0/edit#h-stripe-setup-in-foodship)

:::

 

## Stripe Setup in Foodship

To setup the stripe payment method in Foodship online ordering system.

**Step 1 -**  *Login to the admin portal* and go to the “**settings”** option from left side of the page. 

**Step 2 -**  From the drop-down menu, select the **settings** option.

  
 ![Setting option in Foodship](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/32082573-2572-4968-9afa-e69dcf87fddf/71a9132d-a376-4148-82c1-1ff4c4f2a1a1/image.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20261107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261107T093000Z&X-Amz-Expires=86400&X-Amz-Signature=06536ffdae438f480db4326d337ef16b3e082a0ba1a687fa59b1677605d8b69c&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =221x371")


**Step 3 -** Click on the “**Payments** **Option”** button from the settings and → paste the copied ***publishing key*** *in the API key bar **| secret key** in the secret key bar ( for better understanding see image below)*

 

 ![Stripe setup in Foodship](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/32082573-2572-4968-9afa-e69dcf87fddf/9bdc2387-14e9-415f-bc45-189408d46e48/Untitled%20%281898%20%C3%97%20866%20px%29%20%281303%20%C3%97%20813%20px%29%20%281%29.gif?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20261107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261107T093000Z&X-Amz-Expires=86400&X-Amz-Signature=34aebeb54c06372b712692f506815b9e5f1356a6092566f289d6c17c42b9393c&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =662x413")



:::info
*To know how to get stripe live keys → click* [*here*](https://foodship.getoutline.com/doc/stripe-setup-RDAuPDxhZ0/edit#h-live-keys)

*To know how to get stripe test keys → click* [*here*](https://foodship.getoutline.com/doc/stripe-setup-RDAuPDxhZ0/edit#h-test-keys)

:::

**Step 4 - Enable** Stripe Payment Integration and click on the “**submit”** button.

***Result → Your stripe payment method is ready in Foodship.***

---

**Documents**

- [0.Online Ordering - Quick Guide](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/0online-ordering-quick-guide-FMgH6zFY9W)
- [1. Login FOS - Admin Panel](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/1-login-fos-admin-panel-Skt7YydsF5)
- [2. General Setup](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/2-general-setup-kew9DMrGht)
- [3. Manage Delivery Area](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/3-manage-delivery-area-bn1fOkeMYS)
- [4. Tax & Additional Charge](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/4-tax-additional-charge-malkEgk2AH)
- [5. Tips](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/5-tips-Y6LyPmZETz)
- [6. Manage Menu](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/6-manage-menu-zX8oMctMPB)
- [7. Update or change prices in the menu](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/7-update-or-change-prices-in-the-menu-BPzlhIsf7b)
- [8. CMS pages](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/8-cms-pages-0yoF6aAMGG)
- [9. Discounts & Offers](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/9-discounts-offers-z8Iffn7PJd)
- [10. Manage Orders](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/10-manage-orders-4123SC9NY3)
- [11. Manage Reservations](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/11-manage-reservations-w7mRZ35VEb)
- [12. QR Code Order - Dine in](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/12-qr-code-order-dine-in-o2Uv4qt0pN)
- [13. Gift vouchers](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/13-gift-vouchers-5tVQCsNxnz)
- [14. Sales Off](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/14-sales-off-rUhrdhB0nN)
- [15. Pop Up Alert](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/15-pop-up-alert-qARA4YvKfF)
- [16. Publish an Events](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/16-publish-an-events-Pv1CP6Ov4u)
- [17. Website Setup & Management](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/17-website-setup-management-MwB1N5K3rX)
- [18. New Roles](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/18-new-roles-fixLpvQYWo)
- [19. Manage Customers](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/19-manage-customers-xGmd7MeEKv)
- [20. Master Settings](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/20-master-settings-uE2x75KsKR)
- [21. Printer Setup](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/21-printer-setup-WYN4rGOWif)
- [22. Foodship's ORA app](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/22-foodships-ora-app-J9D3uvHEKl)
- [23. Stripe Setup](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/23-stripe-setup-RDAuPDxhZ0)
- [24. Theme Settings](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/24-theme-settings-J4qpRH9YUa)
- [25. Admin Login/Order notification email.](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/25-admin-loginorder-notification-email-amzjyN58h1)
- [26. Ordering/Rearranging Menu](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/26-orderingrearranging-menu-ncKeLkPrv6)
- [27. Loyalty/Rewards Points](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/27-loyaltyrewards-points-xltr5dnKTz)
- [28. Get a Google Maps API Key](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/28-get-a-google-maps-api-key-fw3pwhC38t)
- [29. Stripe 2.0](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/29-stripe-20-bZxgD8MgKu)
- [30. Square Up 2.0](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/30-square-up-20-5p04cl6eDY)
- [31. Theme Settings](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/31-theme-settings-cvU3f9aYjy)
- [32. How to Get Google Review Embed Code from Featurable ?](https://foodship.getoutline.com/s/online-ordering-system-knowledge-base/doc/32-how-to-get-google-review-embed-code-from-featurable-Fz2KXvhRSc)