B4X FEED Stripe.js Integration

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Stripe.js Integration است. این موضوع تا کنون 46 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Stripe.js Integration
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
46
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,517
4,383
Hi All

I have Stripe Payments for a Customer working with the code listed below.

This is all good, I created the Payment method for this customer in the Stripe dashboard.

However I need to associate and create a payment method with the customer via my own UI in B4A. From reading the documentation you can simply create a card with a request like so [using cUrl format]

B4X:

کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید

The problem is how to obtain the token, the documentation states "A token, like the ones returned by . Stripe will automatically validate the card. "

So in B4A what is the best way to use Stripe.js and have it return a card token? I am thinking a webview but unsure if its just a matter of creating some local HTML file adding...



 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا