Relative Content

Tag Archive for pythonstripe-payments

Stripe restricted status for a connected account

I am able to create a connected accounts with charges enabled and payouts enabled using Stripe test keys. But when I went live and created a stripe connected account, it shows the account is restricted in the Stripe dashboard. I am using AWS lambda to write the account creation code in python in the backend. I have two lambda functions’ code below. One for generating stripe account id, one for generating stripe account creation url. I am just writing the api calls here and not the lambda handler because it worked for test keys. Can someone explain why this is so? Has anyone faced this issue while going live? Do I need to add some more parameters in the below api calls?

Why does stripe library duplicates unit_amount to unit_amount_decimal?

I’m trying to create a subscription with stripe where you have an initial 10.99$ a month for a 100 units, then once you exceed the 100 included units, it charges you 10 cents per extra units. Eveything seems fine in the code I wrote, but when I execute it, I get the following error from stripe: You may only specify one of these parameters: unit_amount, unit_amount_decimal.

unable to make successful stripe payment intent using python

I am not able to make an api call in the backend python. Till “log-2” it is working. After that it gives internal server error in response. Can anyone explain the logic I’m missing? I am working on it for a few days now. I have imported three libraries for the below code