#sanket8360
1 messages · Page 1 of 1 (latest)
Hello
Hi
I want to know if stripe subscribes any plan for hourly interval?
Nope the minimal recurring interval is day:
https://stripe.com/docs/api/prices/create#create_price-recurring-interval
Is there a way to make a one time payment for several hours using a stripe?
Yes you can do several off session payments each hour. You need to configure a cron like logic in your integration and charge customer off session:
You can follow this guide for collecting a payment details during the first attempt:
https://stripe.com/docs/payments/save-during-payment
And charge the saved PaymentMethod every hour. In other words, you need to repeat this step every hour:
https://stripe.com/docs/payments/save-during-payment?platform=web#charge-saved-payment-method
Ok let me check
give me 5 min
Hello
Is there a way to use an already added payment method?
Because I have to do it two ways
- User can insert new card manually
Or - User can select already added card to subscribe or buy one-time purchase.
yes, if it was set up for future usage .
Here I have already saved a payment method
So is there any example how I can use it in a web app?
The above scenario covers this. Check the step I shared above:
https://stripe.com/docs/payments/save-during-payment?platform=web#charge-saved-payment-method