• 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: PHP Email Script - Send User and Admin messages

PHP Email Script - Send User and Admin messages 4 months 5 days ago #43779

  • pixlala
  • pixlala's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I use a credit card payment system in RSForm. In addition to the credit card payment system, I would like to add a traditional bank transfer option.
In $Payment Email Settings, "Defer User Email" and "Defer Admin Email" are set to "Yes".
In the PHP Email Scripts / $userEmail ... area, I need a code to send the "User Email / message" and "Admin Emails / message" content. How can I get the system to send the pending emails.

else (or) if { // not bank card, or other:
($paymentMethod == 'Bank Transfer') ... email sending script ... send emails from RSForm.

Thank you,
The administrator has disabled public write access.

PHP Email Script - Send User and Admin messages 4 months 5 days ago #43780

  • iceferret
  • iceferret's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 245
  • Thank you received: 64
In the payment email settings set 'disable deferring emails for offline payments' to yes. This works for me in my forms which offer credit card, paypal, bank transfer, and cheque/cash options
If you can keep your head when all about you are losing theirs, then you obviously don't understand the situation!
The administrator has disabled public write access.

PHP Email Script - Send User and Admin messages 4 months 5 days ago #43781

  • pixlala
  • pixlala's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
pixlala wrote:
In $Payment Email Settings, "Defer User Email" and "Defer Admin Email" are set to "Yes".

So it is in the "Yes" position.

I use the "(Payment) Offline" field.
Last Edit: 4 months 5 days ago by pixlala.
The administrator has disabled public write access.

PHP Email Script - Send User and Admin messages 4 months 5 days ago #43783

  • iceferret
  • iceferret's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 245
  • Thank you received: 64
Yes if you set 'disable deferring emails for offline payments' to yes it overides the email settings for offline payments. If your user selects bank transfer as the payment option then te emails will be sent out
If you can keep your head when all about you are losing theirs, then you obviously don't understand the situation!
The administrator has disabled public write access.

PHP Email Script - Send User and Admin messages 4 months 5 days ago #43784

  • pixlala
  • pixlala's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
The problem with this is that it says "Payment status: pending" when the email is sent. Which is not true, because "Completed" is the actual status.
I played around with it a lot. There must be some script for this. ... What mail function should be called?

This code should be good, but it's not: "RSFormProHelper::sendSubmissionEmails($SubmissionId);"
... It crashes the web page
Last Edit: 4 months 5 days ago by pixlala.
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!