-
I have been playing with pay and paddle billing for a week. Till now, I can now have a inline checkout in a turbo_frame. But all the subcriptions create by using paddle.js is not sync with the database. I think the webhook might not be properly config. Can you guy advices where should I have to dig deep to solve the issue? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 16 replies
-
I've been facing the same issue and while I'm debugging I will try to update here, so we can collectively find out the reason.
Since both charges and subscriptions require the `customer_id for finding the costumer as: That will fail to update the record. Now comes the question: If I'm creating a new record, and |
Beta Was this translation helpful? Give feedback.
-
In order for a Paddle Customer to be created, you need to run the # Set the payment processor
@user.set_payment_processor :paddle_billing
# Create the customer on Paddle
@user.payment_processor.customer This creates the customer on Paddle and sets the |
Beta Was this translation helpful? Give feedback.
-
Just wanted to add a quick follow up to this. I have the padding billing webhooks working as show in the documentation and I can see a successful subscription. How can I get access to the payment method the customer is using though? I can't seem to find this information no matter what I try, and I can't see any entries into my As everything for subscriptions is handled via webhooks with paddle billing I'm wondering if there is something I'm missing? |
Beta Was this translation helpful? Give feedback.
In order for a Paddle Customer to be created, you need to run the
customer
method. Like so:This creates the customer on Paddle and sets the
processor_id
on thePay::Customer
record