Single charge with no product
nam-co opened this issue · 3 comments
Hi, is there a way to create a simple checkout with just the price? (no product or subscription, no model) just say I send to the API: price is $10usd, collect tax, product name, etc.. and it returns if success or not
Appreciate any help
Thank you
Hi there. Not yet but it's on the roadmap.
We'll need to make use of the custom_price
param when creating checkouts and the vendor will need to provide a stale product that they can use over and over again. I'll thinker on the API but it could look like:
$checkout = $user->customCheckout(1000, 'My product');
#28 i have added a PR for custom price.
@nam-co unfortunately Lemon Squeezy doesn't seems to support that. The best thing you can do is create a "generic" product that you can use to dynamically charge against. I've just merged @mraheelkhan's PR so that should be available shortly.