#Enock
1 messages · Page 1 of 1 (latest)
hi! well that code is test mode only
you don't pass tok_visa in reality, that is just something to simplify test mode.
That code is also completely deprecated using a legacy API(Charge::create) and you would never use that code to take payments with Stripe in 2022. I'd suggest following https://stripe.com/docs/payments/accept-a-payment instead!
Okay thanks you , i don't find the charge step
i'm using this doc :https://stripe.com/docs/api/charges/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.