#Ferb
1 messages · Page 1 of 1 (latest)
You can't pass a pm_xxx object to the source param. You need a Token for a card I suspect
Don't believe there is, no
how can i top up the platform account?
Hi! I'm taking over this thread.
You want to add money to your platform in test mode or in live mode?
test
Then a simple option would be to make a test payment using one of the test card that bypass the pending balance: https://stripe.com/docs/testing#available-balance. This way it will directly increase the available balance of your platform account.
in the example I am using above, I am using the test card suggested already
I have also just tried
self.stripe.stripe.Topup.create(amount=10000000, currency='gbp', source='tok_bypassPending')
What I'm suggesting is to make a regular card payment, not a topup. So just create a PaymentIntent with the test card I shared above and it will work.
great, that seemed to have worked, thank you!!!