• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Sending emails BEFORE and AFTER payments

Sending emails BEFORE and AFTER payments 9 years 8 months ago #32130

Hi guys,

I need to add an offline payment to my sign up form for the upcoming jubilee. Now I want those people to receive an email on signing up which is different from the other payments (ideal and paypal).

How do I fix this, I have read about email PHP but am not that good in PHP. The current emails are only sent AFTER payment. But for the offline payment i need to send a different one BEFORE that specific payment.

Please advise.

Kind regards,
Rogier
The administrator has disabled public write access.

Sending emails BEFORE and AFTER payments 9 years 8 months ago #32140

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

Since you've mentioned iDeal, I'm assuming you're actually using the RSForm!Pro - RSEvents!Pro integration. In this case you can try using an additional email in your form (set from RSForm!Pro) and have it only triggered when your offline method is selected.

- create and use an Additional Email.

- use a script that clears the TO field from the additional email when not using the offline method:

As an example script, this would be added within "Script called before the Additional Emails are sent" area (edit your form > Properties > PHP Email Scripts):
if($_POST['form']['RSEProPayment'][0] != '1'){
$additionalEmail['to'] = '';
}

Notice '1', you'll have to change the number, with the value of the payment field (you can find the exact value by inspecting your page source code).
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.

Sending emails BEFORE and AFTER payments 6 years 6 months ago #38520

Hello !
I would like to do same but this topic is 3 years old so I think this code will not work this RSForm Pro 2.0.15

Can someone help me to do same thing this this version ?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!