concretecms-community-store / community_store_stripe

Stripe payment add-on for Community Store for concrete5
MIT License
7 stars 2 forks source link

Add support for stripe.js v3 elements #15

Open JeffPaetkau opened 5 years ago

JeffPaetkau commented 5 years ago

As the title suggests this pull request adds support for stripe.js v3 elements. It adds support as a separate 'gateway' form so it is non-destructive and won't affect functionality if an existing installation is upgraded.

Stripe.js v3 is pretty powerful so there are lots of features and improvements that could be added. However, the code in this request is sufficient to add basic support for the new API. This code can be refined, tested, and improved over time.

Only basic testing has been completed so far. However, I'll be pushing this code to two live installations and I'll update as issues are discovered and corrected. In the meantime, you may want to mark this gateway as experimental.

JeffPaetkau commented 5 years ago

Cross post: https://github.com/concrete5-community-store/community_store_stripe/issues/14

Mesuva commented 5 years ago

Great work, thanks for this.

I'll look to test and merge in the next few days.

JeffPaetkau commented 5 years ago

thanks