Closed driesvints closed 4 months ago
Btw, we'd love to get a PR for this.
Hey Dries,
We're likely to need this feature at Crescat soon-ish, so I can take a crack at this, since we're planning on implementing this feature in our application anyways, (and when Paddle releases it; add support for recurring non-catalog items on subscriptions).
Do you have any thoughts/preference around the API for this feature?
Throw me some notes if you have any and I'll take a look at it.
Hey @HelgeSverre. Thanks for wanting to help out here! I think it would be similar to https://github.com/laravel/cashier-paddle/blob/1.x/src/Concerns/PerformsCharges.php#L21
I haven't really dug deep into what's needed for this so if you could whip up something working we can go from there. Thanks!
Sorry for the disappearance, priorities got shifted around, I wont get around to look at this for a little while longer, so if anyone else wants to jump at this, feel free.
Hi @driesvints, I have created pull request for this issue.
It basically allows to create transactions on paddle and pass the transaction id as a html attribute to the button.
I'm open to any suggestions, let me know if the current implementation is a good fit or what needs to be changed.
This will be in Tuesdays release
Add support for https://developer.paddle.com/changelog/2023/add-custom-items-transaction