#MadMac
1 messages · Page 1 of 1 (latest)
Hi, you can try this property on Price: https://stripe.com/docs/api/prices/create#create_price-custom_unit_amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It will let the customer input custom amount on-the-fly
Oh cool. I will give that a try a let you know how it worked.
Funny Stripe support chat did not know what "on the fly" meant and I had to explain it.
@dark finch Will that price type work for subscriptions though? As I tried that via the dashboard using a PWYW product and I could not use it for subs
Ah yes doesn't work for Sub IIRC
In that case I think option 2 is still better. No specific problems I can think of, since many merchants also creates product and price on-the-go
"You may only specify one of these parameters: custom_unit_amount, recurring."