#lucas_10753
1 messages · Page 1 of 1 (latest)
Hello, are you creating this price via the dashboard or API?
@fossil lion , yes that is the parameter that you will want to pass here
If you set type: one_time the price will only be for one-time payments
Can you send me the request ID that is in your error log (req_lfkh...)
req_lfkhRNrnnsJ8GX
My apologies, I forgot how that call worked
For the create call you don't pass in one_time
There is a recurring parameter, as long as you do not pass anything in to that parameter, the price will not be recurring https://stripe.com/docs/api/prices/create#create_price-recurring
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Taking a step back, can you tell me about your goal here? Are you trying to take a one time payment?
And to be clear you should not pass in recurring or type on your create call if you are not trying to make a recurring price
The one you are currently calling
But remove the recurring and type params from your code for that call
Is there a reason why you are setting Checkout to subscription mode if you are only providing one time prices?
i got the problem
?
i fixed the problem
Great to hear!