#zyondev_android-savedcard

1 messages ¡ Page 1 of 1 (latest)

midnight sableBOT
#

👋 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. Thank you for your patience!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

🔗 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/1214609335431200778

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

tired quiverBOT
native wadi
#

The charges API is considered legacy and we recommend using PaymentIntents API instead.

Is there a specific reason you're using Charges API?

south hearth
#

I've already had charges api integrated previously

#

and now i noticed wont work with payment sheets integration

#

im running cron script

#

so would need a way to charge card by running a cron script

native wadi
#

and you've tried passing pm_xxx object as a source already right?

south hearth
#

No should i try?

native wadi
#

I'd say give it a try

south hearth
#

it seems that it also needs a token

native wadi
#

Yeah I didn't recall if it was backwards compatible. You'd need to use PaymentIntents API to charge the saved card with PaymentSheet

south hearth
#

does this mean I need a UI to trigger the the PaymentIntents API?

#

i can't run PaymentIntents API directly from cron job?

tired quiverBOT
native wadi
#

You can. The link I shared above shows how you can do that.

south hearth
#

ok let me try