#zyondev_android-savedcard
1 messages ¡ Page 1 of 1 (latest)
đ 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.
The charges API is considered legacy and we recommend using PaymentIntents API instead.
Is there a specific reason you're using Charges API?
We have a guide here on how you'd be able to charge a saved payment method with PaymentIntents API
https://docs.stripe.com/payments/save-and-reuse?platform=android&ui=payment-sheet#charge-saved-payment-method
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
and you've tried passing pm_xxx object as a source already right?
No should i try?
I'd say give it a try
it seems that it also needs a token
Yeah I didn't recall if it was backwards compatible. You'd need to use PaymentIntents API to charge the saved card with PaymentSheet
does this mean I need a UI to trigger the the PaymentIntents API?
i can't run PaymentIntents API directly from cron job?
ok let me try