-
Notifications
You must be signed in to change notification settings - Fork 57
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
Passing email on PayLink with custom Billable model #8
Comments
I can see under
|
Hey @enkota. Please read the core concepts in the docs, particularly the section here: https://laravel.com/docs/7.x/cashier-paddle#user-identification We take over control of the Unfortunately this is due to how Paddle's user identification works and there's no other way for us to achieve this. |
Hey @driesvints. I understand that you need to control the I do not need to update the email after creation, only the inital subscription where the If you’d rather not allow the email to be passed on the For my case, adding the relation to
This would be useful as at the moment no email can be assigned on a Billable model outside Thanks! |
Hmm we don't allow that anywhere? I think you're looking for https://laravel.com/docs/7.x/cashier-paddle#customer-defaults. You can overwrite the |
Hey @driesvints ahh sorry, missed that part in the docs. Didn’t realise we could override that on the Model. All makes sense now :) Thanks! |
Hey again,
When using something other than
User
forBillable
I can't seem to pass through thecustomer_email
parameter as specified on the Paddle docs.Price seems to work fine, but using
customer_email
will not pre-fill the email field. I have tried addingmarketing_consent = 1
as it mentions this is required but no difference.Thanks!
The text was updated successfully, but these errors were encountered: