Stripe Configuration


Steps to configure Stripe in Odoo :-

Step 1 - Go to the website module Select the menu payment acquirer/providers.

Step 2 - Select the ‘Stripe Payment’ and install it.

Step 3 - after installing the ‘Stripe Payment’  module we need to activate it.

Step 4 - Click on activate and than provide the required information

  Like name and code in the fields.

Step 5 - For testing purpose change the state to ‘Test Mode’ and provide the    

            required credentials.(You can get the credentials from the account you 

             created on stripe payment app)

Step to get credentials at stripe application

  1. Login to stripe , go to dashboard
  2. Click to the top right ‘developers’ button, you will be directed to the developers dashboard.

  1. Click on API keys button to get Publishable key and Secret Key.

  1. Now click on webhooks button and go to Developers ‣ Webhooks. Then, click Add endpoint and insert the following data in the Listen to Stripe events form:

In the Endpoint URL field, enter your Odoo database’s URL followed by /payment/stripe/webhook.
For example: https://yourcompany.odoo.com/payment/stripe/webhook.

  1. Again click on webhooks button after saving the details , than you will find the URL, on opening the url you will see the field named ‘Signing secret’

         Here you will find the Webhook Signing Secret , copy and paste the secret 

key to the backend. 


Step 6 - Below you will find the ‘Credentials’ tab , Put credentials like Publishable Key, Secret Key, and the webhook signing secret key which you will get on creating an account on stripe.

Step 7- Now after filling credentials , click on the ‘Configurations’ 

  1. Provide the name you want to display on the payment mode screen.
  2. Select the supported payment icons, according to your needs.
  3. Also select the required fields given as per the requirements.
  4. You can also set a maximum amount value if needed.
  5. Now select the countries from which you will allow payments(optional can also leave this field blank).
  6. Below you will find the ‘Payment Followup’ inside which you need to select Payment Journals (e.g.Bank).

Step 8 - You can also provide custom messages such as on successful payment and on cancellation by clicking on the messages. 

Step 9 - Now click on save button to save the provided details.

Step 10 - At last, click on the ‘Publish’ smart button to publish the payment provider , so that it will allow the customer to see the stripe payment option on his/her website page.On following the above steps you will be able to configure the stripe payment provider in odoo.


Steps to configure Stripe in Odoo (Production) :-

Step 1 - Go to the website module Select the menu payment acquirer/providers.

Step 2 - Select the ‘Stripe Payment’ and install it.

Step 3 - after installing the ‘Stripe Payment’  module we need to activate it.

Step 4 - Click on activate and than provide the required information

  Like name and code in the fields.

Step 5 - For testing purpose change the state to ‘Test Mode’ and provide the    

            required credentials.(You can get the credentials from the account you 

             created on stripe payment app)

Note- For the testing purpose you have to go sandbox.paypal.com

Step to get credentials at stripe application

  1. Login to stripe.
  2. Verify the Email Address.
  3. Give legal Information of your business like- Business type , product,bank etc.
  4. Click to the top right ‘developers’ button, you will be directed to the developers dashboard.
  5. Click on API keys button to get Publishable key and Secret Key.
  6. Now click on webhooks button and go to Developers ‣ Webhooks. Then, click Add endpoint and insert the following data in the Listen to Stripe events form:

In the Endpoint URL field, enter your Odoo database’s URL followed by /payment/stripe/webhook.
For example: https://yourcompany.odoo.com/payment/stripe/webhook

  1. Again click on webhooks button after saving the details , than you will find the URL, on opening the url you will see the field named ‘Signing secret’

         Here you will find the Webhook Signing Secret , copy and paste the secret 

key to the backend. 


Step 6 - Below you will find the ‘Credentials’ tab , Put credentials like Publishable Key, Secret Key, and the webhook signing secret key which you will get on creating an account on stripe.

Step 7- Now after filling credentials , click on the ‘Configurations’ 

  1. Provide the name you want to display on the payment mode screen.
  2. Select the supported payment icons, according to your needs.
  3. Also select the required fields given as per the requirements.
  4. You can also set a maximum amount value if needed.
  5. Now select the countries from which you will allow payments(optional can also leave this field blank).
  6. Below you will find the ‘Payment Followup’ inside which you need to select Payment Journals (e.g.Bank).

Step 8 - You can also provide custom messages such as on successful payment and on cancellation by clicking on the messages. 

Step 9 - Now click on save button to save the provided details.

Step 10 - At last, click on the ‘Publish’ smart button to publish the payment provider , so that it will allow the customer to see the stripe payment option on his/her website page.On following the above steps you will be able to configure the stripe payment provider in odoo.