1. EricWebsite
  2. RO Payments
  3. Thursday, 25 February 2021
  4.  Subscribe via email
Hi,

After a successful payment initiated by a link (index.php?option=com_jdidealgateway&view=pay) the customer is redirected to a Payment Success message.
I put PHP code in there, will it always be executed, regardless whether the user has already closed the vrowser or not?

I currenly do that to handle some final details, but have the feeling that my code is not always executed.

Or is there a better way to do that, i.e. somewhere in the Profile?

Thanks for your answer!

Best
Eric
Accepted Answer Pending Moderation
Hello Eric,

The code on successful page is not executed if there is no browser. This is a front-end view, so if there is no browser showing the page, the code is not executed. You probably want to use a Joomla plugin that acts on the trigger onPaymentComplete, this way you can do any processing you want regardless of the browser.

Let me know if that helps.
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. # 21
  • Page :
  • 1
  • 2


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