cousens
24
Hi Pieter,
Many thanks for the plugin.
I’m having an issue though, I’m trying to set the email dynamically so I’ve got a state on the popup which I default to “aa@aa.com” and I update it to the actual value “me@here.com” when I click the subscribe button via the workflow.
In the same workflow, I also start the checkout and the value that’s passed through to payfast is the “aa@aa.com”.
It doesn’t pick up the updated email address stored in the state when I click the subscribe button, only the original default state value.
Any ideas how to get it working dynamically?
Thanks