On the product page, I need to add a name and email input field, and this data should be displayed in the json after the payment was successful. I added a simple opt-in, but the data from this opt-in is not displayed in the json. Please help me, I don’t understand what I’m doing wrong.
I then send this data from the json to an external server using a webhook