laravel / cashier-paddle

Cashier Paddle provides an expressive, fluent interface to Paddle's subscription billing services.
https://laravel.com/docs/cashier-paddle
MIT License
246 stars 57 forks source link

Bill for non-catalog items #230

Closed driesvints closed 4 months ago

driesvints commented 10 months ago

Add support for https://developer.paddle.com/changelog/2023/add-custom-items-transaction

driesvints commented 9 months ago

Btw, we'd love to get a PR for this.

HelgeSverre commented 9 months ago

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.

driesvints commented 9 months ago

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!

HelgeSverre commented 7 months ago

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.

AcTiv3MineD commented 5 months ago

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.

driesvints commented 4 months ago

This will be in Tuesdays release