1. webmaster@volvobeurs.nl
  2. RO Payments
  3. Monday, 04 April 2022
  4.  Subscribe via email
Joomla 4.1.2 with RSForm! Pro 3.0.6 and RO payments 7.1.0.

I have 2 forms; one is an English version without direct payment via RO-payment; the other is a form in Dutch with iDeal payment.

In the RSForm! field PHP Email Scripts I change the layout of the email using the value of $_POST['form']['my_field']. In the English form (I make no use of RO-payment) this works OK. However in the Dutch form (I use the iDeal payment) all the values of the $_POST fields are empty.

Is there a way for changing the email text when i make use of the iDeal payment option?

regards Ernst.
Accepted Answer
Accepted Answer Pending Moderation
Roland,

Your remark about the submission ID reminded me of the array variables $placeholders and $values.

Now I use these arrays to check for the values and can change the mail output as I want.

Thanks!
  1. more than a month ago
  2. RO Payments
  3. # Permalink
Accepted Answer Pending Moderation
Hello Ernst,

However in the Dutch form (I use the iDeal payment) all the values of the $_POST fields are empty.
RO Payments does not do anything with the e-mails other than deferring them if needed.

As for the $_POST values I think they are empty because redirects happen until you get back to RSForms, in a redirect you lose your $_POST variables. Although this is more of an educated guess. What I am thinking is that you may need to retrieve the data from the database again based on the submission ID. However I have no idea what is available at the point the script is executed as I have never seen or done anything like this.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO Payments
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!