-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paddle Billing support #192
Comments
Right now we don't have immediate plans, sorry. |
Hi, I am new to paddle and also this bundle. I try to set it up but doesn't seem to work. I guess this maybe has to do with the billing account? I registered after 8th of august. There doesn't seem to be an option to switch to classic. |
@Arielblues you're using the new Paddle Billing which this package doesn't supports. |
Thanks for the quick feedback. I will check out other options then. If you do plan to update sooner would be very much appreciated. |
Since Paddle Billing is now the default option for new Paddle accounts, I think a little warning in the docs that Paddle Billing is not supported by Cashier could've been a nice heads-up. Also a notice to not use this package if your Paddle account was created after August 8th. |
I'm probably gonna start looking into a Cashier Paddle v2 soonish. |
Please let us know if we can help with contributing to this @driesvints 👍 Paddle Billing seems to be way closer to the way Stripe is working, so I am assuming we can keep the implementations similar as well (apart from having a solid migration path in place). |
Working on it... just a lot to dig through. Thanks! |
Thank you for working on this @driesvints! Very appreciated! I was looking through their new API and it seems like that they've basically changed everything 😓 |
Just raising my hand as interested in using Paddle Billing support 🙋 Thanks to @driesvints and all others working on this initiative. |
Really cashier paddle package not is working with new paddle accounts. |
Hey all. We realize you all want support quickly. We’re doing our best here to provide you that but for now please have patience. |
Got the code pretty much tied up and docs almost finished. We'll be tagging an alpha release early next week for people to test out for a bit before we tag a stable release. |
Eagerly waiting for this. I am one of the customers who signed up to paddle after August 8th. Thanks @driesvints and the team for the amount of work you've put into this. |
Perfect timing. I'm starting on integration payments in my app in the following weeks. I'll try the alpha for sure. |
Hi everyone! I'm trying to use the current dev-version for my project. I found a bug (I think it's a bug). Steps to reproduce:
I got an error:
Solution was the following:
I understand that your solution is still in dev, but maybe my message will help you to fix it faster :) |
@kirillarutyunov I don't think you're using that correctly. Try:
|
We've released a first alpha version btw and would love feedback on it and testing: https://github.com/laravel/cashier-paddle/tree/master |
Hello, seems like you are missing a method
Got that by calling Also an issue with customer update webhook:
|
Thanks @karlomikus. I did a new v2.0.0-alpha.2 release with fixes for these. Good finds. |
Seems like public function resume(bool $resumeNow = false)
{
$response = Cashier::api('POST', "subscriptions/{$this->paddle_id}/resume", [
'effective_from' => $resumeNow ? 'immediately' : 'next_billing_period',
])['data'];
// ...
} But in testing, when resuming a subscription that is active with a scheduled change to pause, I get internal server error from the paddle api ( Other conditions like using, |
Thanks @karlomikus. I made this PR to fix that: #206 Could you give it a look? #206 |
Hello everyone in this thread. Seeing many people who want Paddle Billing support but not many people who are willing to help test the upcoming version. Can we get a little more people trying out the next version? Once it's out it's a lot harder to do changes. Thanks! |
@driesvints I think this is also missing
|
Hello! |
@kidsdayio thanks, will have a look. @zeknoss basically going through the docs and trying things out. |
Hey @driesvints Created a PR for you: #207 |
@zeknoss replied to your PR |
Hi @driesvints ! However, while I was trying to display the inline paddle element I'm getting the following error: I've supplied the output of checkout('price-id')->returnTo('return-url') method into the blade. When I looked at the code, I can see that the last commit was made 3 years ago so maybe could it be forgotten? |
Hmm, are you sure you're looking on the master branch? |
Indeed I am. https://github.com/laravel/cashier-paddle/tree/master/resources/views/components says so :) |
@zeknoss managed to reproduce that one and forwarded it to Paddle. Hoping to get an answer soon. Thanks for testing! |
You're most welcome, actually you are the one I should thank. Ciao! |
How Can I charge from a user without auth and priceId? And Can I generate a payment link for the subscription? |
That's not possible I'm afraid. You need a user up front.
There's no concept of payment links anymore in Paddle Billing. |
thanks @driesvints So How can I take a payment by only passing the amount? In my case no need to create a product or price ID |
That's not possible with Paddle Billing. You always need a price ID. |
Hi you phenomenal guys that are working on this! Do you have an app. date when Paddle Billing will be available in Laravel Cashier as a first stable release? |
Thanks to everyone who helped testing 👍 |
Great to see Cashier supporting Billing, even if I can't upgrade from Classic. Will there be an upgrade option once Paddle releases such an option from their side? |
@Kovah maybe. But the codebase and data scheme of Cashier Paddle changed a lot. So unsure if that would be possible. |
@driesvints @zahidhassanshaikot Are you sure about this? It seems that https://developer.paddle.com/build/transactions/bill-create-custom-items-prices-products its possible it's just done in a bit different way. |
I can confirm creating fully custom prices/items directly works with Paddle Billing. Not sure how it should be supported in this library but it's quite similar to the paddle classic. Instead of creating custom "checkout" and getting checkout URL you create custom transaction using API > get transaction ID > open checkout with that transaction id. Paddle.Checkout.open({
transactionId: "txn_abcdef12345"
}); |
@iskrisis it seems this was only added a few weeks ago. We'd accept a PR for this. https://developer.paddle.com/changelog/2023/add-custom-items-transaction |
I used Paddle webhook like this domain.com/paddle/webhook and didn't Overriding Default Models. ENV setup below I used the latest version and checkout is working fine with one-time payment(by price ID). Also, store data on the Customer table and Payment added to the paddle balance. But No data is stored in the transactions table. When I view log-on transaction.completed from webhook status it failed. @driesvints help please |
@tariquedev that seems like a weird status display. Best to contact Paddle about this. |
@InfinityXTech set the website at https://sandbox-vendors.paddle.com/request-domain-approval it should work. |
Paddle has launched a new version called Paddle Billing. I tried to use it with this package, but it seems that it doesn't work because Paddle Billing and Paddle Classic use different APIs. Do you have any plans to update cashier-paddle to support the new API?
For reference, here's the announcement about Paddle Billing:
https://developer.paddle.com/changelog/2023/enable-paddle-billing
The text was updated successfully, but these errors were encountered: