• 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: Paypal "confirmed" then send email not working

Paypal "confirmed" then send email not working 7 years 9 months ago #37191

  • duncan
  • duncan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 1
Hi

I have been working on a site that allows users to send donations.

The method I have been using is derived from the post here: www.rsjoomla.com/support/documentation/r...mpro-and-paypal.html

I've got to the stage where it all works, the correct money is being sent to Paypal with correct description and so on.

The aspect that's not working is Paypal not confirming payment and then I need the user email to be sent.

The code that handles the last bit is as follows and is placed in the on form display section:
$db = JFactory::getDBO();
    $sid = JRequest::getInt('submission');
    if(!empty($sid))
    {
    $db->setQuery("UPDATE #__rsform_submission_values SET `FieldValue` = 'confirmed' WHERE `SubmissionId` = '".$sid."' AND 
    `FieldName` = 'status'");
    $db->query();
    die();
    }

There's a couple of things I'm not quite sure of and may be the reason why it's not working. So I have a few questions that will hopefully help me see this through:

1) The Paypal configuration in RSform is not set up because I'm thinking the php script called on form process handles all this, ie paypal account email - do I still need to feel this out the configuration fully?
2) I have been working on a live Paypal account (sending just small amounts) - the return url is not set. Do I need to set the return url so that Paypal updates the status to "confirmed"?
3) Should I have the deferred user email set to "yes" or leave this at default?

I would be so grateful for any help on this - this is the last hurdle in what has been a real learning curve for me.

Kind Regards

Duncan
Last Edit: 7 years 9 months ago by duncan.
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!