Menu

#5489 Stripe plugin

Parent Category:
DPCalendar
Category:
Payment plugins
Last Updated:
Allon Moritz, Monday, 27 May 2024 08:33
Created:
Wednesday, 06 August 2014 03:31
Hits:
5435

This feature is part of the DPCalendar Premium subscription.
SubscribePHP 7.4PHP 8Joomla 3.10Joomla 4.4Joomla 5

Introduction

With Stripe, your visitor can pay instantly using his credit card on one of the most secure payment platforms.

The plugin works the way that it displays a form within your web site when the attendee clicks on the Pay button in the booking form. She/he must then enter the credit card details and after the send button is clicked an ajax request is done to the Stripe server without touching your web server. This ensures that you don't have to be PCI compliant and not to deal with the credit card information. All is handled by stripe itself.

Stripe also supports strong user authentication (SCA). After submitting the credit card information an additional step needs to be done to authenticate against the bank to protect from fraud. This function is called 3d secure and is fully supported in DPCalendar.

Configure the plugin

The DPCalendar Stripe plugin allows to add unlimited Stripe accounts to DPCalendar. When the plugin is opened in the back end, then you can click on the "+" button to add a new configuration. There you can fill the following fields:

  1. ID
    The ID of the configuration, must be a unique integer amongst the different configurations within the plugin.
  2. Title
    The title of the configuration. Appears in the drop down in the event form where you can select individual payment providers.
  3. Description
    The description which will be shown on the front end provider selection list when confirming the booking.
  4. Icon
    The icon which will be shown on the front end provider selection list when confirming the booking.
  5. Status
    The publishing status of the payment provider.
  6. Merchant Secret Key
    The API secret key, see below how to get it.
  7. Merchant Publishable Key The API publishable key, see below how to get it.
Stripe payment provider configuration

Setup

After you have created a stripe account, you need to log in on stripe.com. Click on the sidebar on "Developers" -> "API Keys" and copy the Publishable key and the Secret key to your plugin settings.

Stripe API

Testing mode

To use Stripe in testing mode, you have to change it into testing mode by toggle the switcher to "Viewing test data". Then copy the Test keys to the plugin instead of the Live ones. To test different scenarios, use the testing credit card numbers from this page stripe.com/docs/testing.

Basically you can use the card number 4242 4242 4242 4242 for none authenticated payments and 4000 0027 6000 3184 for strong authentication to test 3D Secure. As month and year just put anything in the future and as CVC any numbers you want.

Stripe API

Comments (0)

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.