Skip to content

Compact code for initiating recurring payments using Stripe. Use as you want and build onto it for other users to use.

License

Notifications You must be signed in to change notification settings

matildasmets/recurring-payment-with-stripe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recurring-payment-with-stripe

Functionality was built into this Stripe recurring payment. After a successful transaction, it automatically changes the customer's information.

installation

  1. To install it, use your composer and type in require stripe/stripe-php
  2. Register with Stripe. Configure Stripe in testmodus. Take note of the secret and publishable key.
  3. Create a plan on Stripe and copy the ID.
  4. Go to stripe-payment.php and copy the following ID in the your_plan_id field.
  5. Test it out.
  6. Adjust it to your preferences, and you're ready to go! I hope this code was useful to you.

stripe-payment.php

The user can enter their credit card information in a popup that is displayed as a result of this code.

stripe-payment-with-ideal.php

This payment will redirect the customer to Stripe to pay with iDeal or a credit card.

About

Compact code for initiating recurring payments using Stripe. Use as you want and build onto it for other users to use.

Resources

License

Stars

Watchers

Forks

Packages

No packages published