#Ferb

1 messages · Page 1 of 1 (latest)

slow kestrelBOT
untold moth
#

You can't pass a pm_xxx object to the source param. You need a Token for a card I suspect

valid gate
#

is there a token i can use to top up using gbp

#

?

untold moth
#

Don't believe there is, no

valid gate
#

how can i top up the platform account?

slow kestrelBOT
past jay
#

Hi! I'm taking over this thread.

#

You want to add money to your platform in test mode or in live mode?

valid gate
#

test

past jay
#

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.

valid gate
#

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')

past jay
#

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.

valid gate
#

great, that seemed to have worked, thank you!!!