SonarSoftwareInc / customer_portal

A prebuilt customer portal for Sonar.
https://sonar.software
25 stars 51 forks source link

[AB#3420 + AB#2581 + AB#2944] Update Stripe CC Processor #90

Closed Godron629 closed 3 years ago

Godron629 commented 3 years ago

This PR requires both

This PR adds the ability to use the Stripe\PaymentIntents API from the customer portal. This API handles all sensitive card details in their JavaScript integration and tokenizes the card, instead of using a standard form where we submit all card details to sonar. Customers may be prompted for additional authentication through their bank when submitting these forms, if deemed necessary by Stripe.

To use this, you must enable stripe in /settings/, and enter your publishable and private API keys.

pk_test_TYooMQauvdEDq54NiTphI7jx
sk_test_4eC39HqLyjWDarjtT1zdp7dc

It looks like this: stripe1 stripe2 strip4 stripe3

The following changes have been made: