Djaboo-Stripe connection: How does it work?

Configure API keys #

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

To set up Stripe Checkout, you'll need a secret, publishable API key.

To get them, please follow the steps below:

  1. Log in to your Stripe account
  2. Click on " Developers ” in the menu item at the top left of the page
  3. Click on the sub-menu item ” API Keys”

If you have switched View test data “, Stripe will display test keys, otherwise live keys will be displayed.

  • To switch to mode production , you will need the " Live Secret Key " and some " Live Publishable Key ».
  • To the tests , you will need the " test secret key " and some " test publishable key »
Stripe API Keys

webhook #

Once the Stripe API credentials are saved , Djaboo will show you a message that the webhook is not configured for the current mode (test or live based on your API credentials)

To save you from manually setting up the webhook, we added a feature to automatically create the webhook in Stripe.

Just click on the link "here" in the message text to create the webhook in Stripe. Keep in mind that in the beginning, if you added the test Stripe API credentials, you will need to repeat this step when you add your credentials. live API identification.

Trial #

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

  1. Create a fictitious customer.
  2. Create an invoice under the customer you created before and in the authorized payment methods, be sure to 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 down and select Stripe And click Pay now
  5. If you need test credit cards, you can read more about the stripe testing guide page