Custom Payment Method - Where To Put In The Cancel URL

  • Posts: 47
  • Thank you received: 0
7 years 7 months ago #267834

-- url of the page with the problem -- : v6mallshopping.com

Hi guys, I've done this before successfully, but for the life of me, now I cannot find where was the place this was done.

Basically, when a user purchases a product using my custom payment method, upon a failed transaction, he is directed to the cancellation URL at v6mallshopping.com/index.php?option=com_...er&task=cancel_order

Now, and I have done this before - the user is then taken to another page informing him/her that her transaction is cancelled.

For successful payments, the user is taken to the URL stated in the payment plugin config page as Return URL.

For unsuccessful payments, I just can't find where to store the landing page URL that displays Sorry your transaction did not go through.

My payment request handling codes on the payment gateway side is enclosed. Please remove the .txt extension behind the file name.

File Attachment:

File Name: callback.php.txt
File Size:1 KB


Thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 47
  • Thank you received: 0
7 years 7 months ago #267835

Thanks, found it in [yourpaymentmethod].php file under the onPaymentNotification method... what a bugger

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum