Stripe Checkout

Configure API Keys

Stripe Checkout can be configured in Setup->Settings->Payment Gateways->Stripe Checkout.

To set up Stripe Checkout, you will need API Secret and Publishable key.

To get these, please follow the steps below:

  1. Log in to your Stripe account
  2. Click “Developers” from the top left menu item of the page
  3. Click the “API Keys” submenu item

If you toggled “View test data“, Stripe will show the test keys, otherwise, the live keys will be shown.

  • For production, you will need the “Live Secret Key” and “Live Publishable Key“.
  • For testing, you will need the “Test Secret Key” and “Test Publishable Key

Webhook


After the Stripe API credentials are saved, 2Desk CRM will show you a message that the webhook is not configured for the current mode (testing or live based on your API credentials)

To spare you from manually configuring the webhook, we added functionality to automatically create the webhook in Stripe.

Just click on the “here” link in the message text to create the webhook in Stripe.

Keep in mind that at first if you added test Stripe API credentials, you will need to repeat this step again when you add your live API credentials.

Mod Security

In case you are getting Access to this resource on the server is denied or Not Acceptable mod_security errors when Stripe is redirecting back to 2Desk CRM after payment, contact your hosting and ask them to disable mod_security for your 2Desk CRM installation because in certain scenarios ModSecurity will interfere with 2Desk CRM features.

Testing

After you entered the test Stripe API credentials and created the webhook, you can perform the following steps:

  1. Create a dummy customer.
  2. Create an invoice under the customer you created before and in the Allowed Payment Modes make sure that you select Stripe
  3. View the invoice as a customer, while previewing the invoice in the admin area click More->View Invoice as Customer.
  4. Scroll to the bottom and select Stripe and click Pay Now
  5. If you need test credit cards, you can read more in the Stripe testing guide page

Did you find this article useful?

  • Authorize.net Accept.js

    To configure Authorize.net Accept.js payment gateway, you need to navigate to the payment gateways c...
  • PayPal Smart Checkout

    The PayPal Smart Checkout is a payment gateway provided by PayPal. The PayPal Smart Button...
  • Braintree

    To configure Braintree payment method in 2Desk CRM, you will need to obtain Merchant ...
  • Mollie

    Offer your customers the payment methods Creditcard, SOFORT Banking, iDEAL, Bancontact, Bank transfe...
  • 2Checkout

    To setup 2Checkout payment gateway you will need the following details: Merchant Code Secret Key IP...