- Posts: 47
- Thank you received: 0
Custom Payment Method,
- brendanlanza
-
Topic Author
- Offline
Less
More
9 years 5 months ago #267437
by brendanlanza
Custom Payment Method, was created by brendanlanza
-- 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?
-- 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.
- brendanlanza
-
Topic Author
- Offline
Less
More
- Posts: 47
- Thank you received: 0
9 years 5 months ago #267440
by brendanlanza
Replied by brendanlanza on topic Custom Payment Method,
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.
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.
- brendanlanza
-
Topic Author
- Offline
Less
More
- Posts: 47
- Thank you received: 0
9 years 5 months ago #267455
by brendanlanza
Replied by brendanlanza on topic Custom Payment Method,
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.
9 years 5 months ago #267466
by Jerome
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.
Replied by Jerome on topic Custom Payment Method,
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,
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.195 seconds