Changes

Jump to navigation Jump to search
m
Line 55: Line 55:     
=Variants=
 
=Variants=
Stripe offers several modes of operation. The old default mode is the use of Stripe's "charge" APIs. As of September 2019, these APIs are deprecated to implement the SCA on online payments and 3D Secure v2 (https://stripe.com/docs/strong-customer-authentication).
+
Stripe offers several modes of operation. The old mode is the use of Stripe's "charge" APIs. As of September 2019, these APIs are deprecated to implement the SCA on online payments and 3D Secure v2 (https://stripe.com/docs/strong-customer-authentication).
 
The v10 is ready for this change. Dolibarr v10 offers 2 other modes of operation:
 
The v10 is ready for this change. Dolibarr v10 offers 2 other modes of operation:
   −
*By going to Home - Setup - Other and adding the constant STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION to 1, Dolibarr will use the PaymentIntent Stripe APIs according to the workflow "Automatic Confirmation" (https://stripe.com/docs/payments/payment-intents/quickstart) , which is ready for the SCA.
+
* By going to Home - Setup - Other and adding the constant STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION to 1, Dolibarr will use the PaymentIntent Stripe APIs according to the workflow "Automatic Confirmation" (https://stripe.com/docs/payments/payment-intents/quickstart) , which is ready for the SCA.
*By going into Home - Setup - Other and adding the STRIPE_USE_NEW_CHECKOUT constant to 1, Dolibarr will use the CheckOut Stripe APIs according to the "Server Integration" workflow (https://stripe.com/docs/payments/checkout), which is also ready for the SCA.
+
* By going into Home - Setup - Other and adding the STRIPE_USE_NEW_CHECKOUT constant to 1, Dolibarr will use the CheckOut Stripe APIs according to the "Server Integration" workflow (https://stripe.com/docs/payments/checkout), which is also ready for the SCA.
   −
At maturity, one of these two variants, already operational in v10, will become the default mode. The Dolibarr core team has not decided which one will be the default one, but whatever is the implementation "used by default", both are available in v10 and will remain available in future versions.
+
When using Dolibarr v11, the default mode is when STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION = 1 with no need to change or edit any configuration variable. So if you want to use another method, you must force this constant to 0.

Navigation menu