thephpleague / omnipay-stripe

Stripe driver for the Omnipay PHP payment processing library
MIT License
185 stars 168 forks source link

I want to use token instead of sending raw card data to stripe #234

Open nato1982 opened 6 months ago

nato1982 commented 6 months ago

Hello I have omnipay/stripe payment gateway enabled on my file hosting site.

When a user tries to upgrade there account they recieve an error. "error! sending credit card numbers directly to stripe is generally unsafe"

Im looking through all the files regarding omnipay/stripe and reading lots of forums but I cant seem to work this out. Hopefully I can find a fix to convert credit card numbers into tokens.

I will add the files regarding my implementation hopefully someone can explain how to fix this.

stripe.zip