#quantumcoder_code

1 messages · Page 1 of 1 (latest)

blissful gullBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1347472186604257361

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

high verge
quiet forge
#

So i can't use tokens?

#

Can i do accept payment from backend without open payment intent on web and just share card details through API to backend?

high verge
#

So i can't use tokens?

you can if you want, it still works, but I strongly discourage it since you won't be able to use new features that are built on Payment Methods instead

#

Can i do accept payment from backend without open payment intent on web and just share card details through API to backend?

This is only allowed if you meet the requirements listed here : https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis

quiet forge
high verge
#

Is there a reason why you are not using Payment Methods?

quiet forge
high verge
#

Could you please explain why you want to use Tokens instead of PaymentMethods?

quiet forge
#

As flutter stripe library is not maintain by stripe so i want to secure my system on a backend side i'm using official stripe php SDK that's why i want to use token instead of payment methods and we're only targeting Canadian public only

#

In the canada user's most prefer payment options are Card, Apple Pay ad Google Pay only

#

They don't trust other options

high verge
#

Thanks for the info! However, I think there’s a bit of confusion here. As I mentioned before, you should really be using Payment Method objects instead of Tokens. Payment Methods are essentially the tokenized object of a payment method. Payment Method objects are supported by all official Stripe SDK libraries : https://docs.stripe.com/api/payment_methods

#

you can create Payment Method objects for Card, Apple Pay and Google Pay payment methods. Apple Pay and Google Pay are actually part of the card payment method

quiet forge
#

Can i get sample code for best practice for dart?

high verge
#

Stripe doesn't have any libraries for dart so we don't have sample code for that