fbpx
  Thursday, 05 July 2018
  2.6K Visits
  Subscribe
Can I be given guidance on how to implement a callback url after payment has been processed by the payment gateway
5 years ago
·
#2184
anybody ?
5 years ago
·
#2186
Hi edhor,

Quoting from the documentation for Sellacious Payment Gateway Development (See full doc here):


If your plugin requires a redirect and callback mechanism as explained above, you can supply the Callback URL to the gateways as below:

$callbackUrl = $this->getCallbackUrl();
$feedbackUrl = $this->getCallbackUrl(array(), true);

This will return something like (not exactly):

https://yourdomain.com/index.php?option=com_sellacious&task=payment.callback

If you need additional parameters in the callback URL such as “status=success” then call this method as below:

$callbackUrl = $this->getCallbackUrl(array('status' => 'success'));
$feedbackUrl = $this->getCallbackUrl(array('status' => 'success'), true);



You can find this in Page #3 and #6 of the documentation.


Hope this helps. Thanks.
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Sorry, the discussion is currently locked. You will not be able to post a reply or a comment at the moment.
  • +1 (408) 821-8283
  • Email hello@sellacious.com