I’ve been trying to setup some payment options buttons for a profile page I’m working on. Basically I’d like to list all of the events registered by a user doing an email lookup of the current logged in user. This I’ve got working but I can’t figure out how to add payment links on to items that have an outstanding balance.
I’ve been looking at the code generated for the email invoice (that seems to be the only place a payment url is generated) but still cannot figure it out. Any help or point in the right direction would be great.
When you say the users registration ID which table is this located in?
I see that in the esp_registration table there are REG_ID, REG_code and REG_url_link elements, however none of these are the correct value. REG_code and REG_url_link seems to be hashed values, can these be used in any way?
I’ve also noticed that the code emailed to the user contains the e_reg_url_link that is stored in the esp_line_item table under the LIN_code field in the format of: 1-XXXXXXXXXXX. Is the 1- a constant, why is it needed?
Should I be using the values located in the line item table or is there a better way?
Never mind, I just realised it was stored as a utf8_bin 🙂
Thanks for your help.
Viewing 5 reply threads
The support post ‘EE4 payment option links outside of event’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.