Posted: December 2, 2018 at 4:01 pm
|
I have created a new offline payment method. It does not use any billing form (generate billing form returns null) and it also does not use a gateway. As simple as it gets for a payment method. Registration works (approved by default), transaction incomplete, because no payment etc. However, during checkout, when the registration and its corresponding transaction is created, I would like to do two things: 1) Update the primary contact (presumably the primary attendee for that registration?) from custom user meta fields for the current user. Screenshot: Questions: |
That hook is ‘fired’ after a checkout has been finalized or a payment received, in your post above you have:
If you want the above to happen when they are created then the above hook is way later than that but…. it depends if you want these updates to happen only when a payment is made/checkout is finalized or not? There’s not enough info to know exactly which hook you need, but
Pull the primary contact from the primary registration, update the details you want then run the
Billing information is stored as attendee meta linked with the payment method used, take a look HERE. |
|
|
Thanks.
Adding billing information I used Solved. |
The support post ‘Update Primary Attendee and Billing Information on Checkout’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.