Custom Payment Method,

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

-- url of the page with the problem -- : getmall.getthiss.com
-- Error-message(debug-mod must be tuned on) -- : ERR_TOO_MANY_REDIRECTS

My returm URL using

$return_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&ctrl=checkout&task=after_end&order_id='.$order_id.$this->url_itemid;

in function onPaymentNotification(&$statuses) is working finally, after commenting out the unused hash! The order status is updating correctly to either confirmed or cancelled.

Now there's nothing wrong with the cancel url but the return url is producing the ERR_TOO_MANY_REDIRECTS error.

What can be wrong?

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

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

This problem is solved. However, I have now a blank page after a successful payment (order status updated to confirmed).

How do I write thank you for your purchase on the blank page?

Thank you.

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

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

The problem is solved. I pointed the result and cancel urls to a Joomla content page.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 7 months ago #267466

Hello,

For the configuration or the cancellation of the order ; HikaShop have generic URL but also provide settings in the plugins for that.

Please do not hesitate to take a look at our sample payment plugin or other HikaShop payment plugins (in our GitHub or directly in the HIkaShop package)
github.com/HikaShop/sample-payment-plugin

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum