- Posts: 11
- Thank you received: 1
Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
Questions about Payment Form extension
Authorize.net Accept Hosted Payment Plugin Cancel URL
- Brian Faries
- Topic Author
- Away
- New Member
-
Less
More
19 hours 36 minutes ago #179307
by Brian Faries
Authorize.net Accept Hosted Payment Plugin Cancel URL was created by Brian Faries
Hello, we have the Authorize.net Accept Hosted Payment Plugin installed into our Payment Form, and Event Booking's version on that side, and once redirected to Authorize.net's hosted payment form, when clicking the Cancel button in there form it shows a 404 error message. Within the os_authnetaccepthosted.php file of the PMF payment plugin I see "payment_cancel_url_menu_item_id.php" within the $cancelUrl variable instead of "authaccepthosted_pmf_cancel.php":
$cancelUrl = $rootUrl . 'payment_cancel_url_menu_item_id.php?Itemid=' . $Itemid;
And a side note, I see the "$this->params->get('payment_cancel_url_menu_item_id')" param but I don't see the payment_cancel_url_menu_item_id within the XML params; and likewise with the payment_complete_url_menu_item_id param - and same situation in the EB Authorize.net Accept Hosted Payment Plugin.
Could the code in both PMF and EB Authorize.net Accept Hosted Payment Plugin be reviewed.
Thanks!
$cancelUrl = $rootUrl . 'payment_cancel_url_menu_item_id.php?Itemid=' . $Itemid;
And a side note, I see the "$this->params->get('payment_cancel_url_menu_item_id')" param but I don't see the payment_cancel_url_menu_item_id within the XML params; and likewise with the payment_complete_url_menu_item_id param - and same situation in the EB Authorize.net Accept Hosted Payment Plugin.
Could the code in both PMF and EB Authorize.net Accept Hosted Payment Plugin be reviewed.
Thanks!
Please Log in or Create an account to join the conversation.
- Brian Faries
- Topic Author
- Away
- New Member
-
Less
More
- Posts: 11
- Thank you received: 1
16 hours 12 minutes ago #179308
by Brian Faries
Replied by Brian Faries on topic Authorize.net Accept Hosted Payment Plugin Cancel URL
I had changed the code to
"$cancelUrl = $rootUrl . 'authaccepthosted_pmf_cancel.php?Itemid=' . $Itemid;"
, and it redirected correctly but still was getting the 404 Component not found error but then noticed
"$_REQUEST = 'com_osmembership';" within the "authaccepthosted_pmf_cancel.php" file, I changed it to
"$_REQUEST = 'com_pmform';"
and it is now loading with no error - however it says "Payment Failure" and failure template message; so I changed
$_REQUEST = 'failure'; to
$_REQUEST = 'cancel';
"$cancelUrl = $rootUrl . 'authaccepthosted_pmf_cancel.php?Itemid=' . $Itemid;"
, and it redirected correctly but still was getting the 404 Component not found error but then noticed
"$_REQUEST = 'com_osmembership';" within the "authaccepthosted_pmf_cancel.php" file, I changed it to
"$_REQUEST = 'com_pmform';"
and it is now loading with no error - however it says "Payment Failure" and failure template message; so I changed
$_REQUEST = 'failure'; to
$_REQUEST = 'cancel';
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
10 hours 38 minutes ago #179311
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Authorize.net Accept Hosted Payment Plugin Cancel URL
Hi Brian
Sorry for the typos. I updated the payment plugin package with the fix. The fix is the same with what you described here, so you can keep that fix and it will be OK
Regards,
Tuan
Sorry for the typos. I updated the payment plugin package with the fix. The fix is the same with what you described here, so you can keep that fix and it will be OK
Regards,
Tuan
The following user(s) said Thank You: Brian Faries
Please Log in or Create an account to join the conversation.
- Brian Faries
- Topic Author
- Away
- New Member
-
Less
More
- Posts: 11
- Thank you received: 1
10 hours 20 minutes ago #179312
by Brian Faries
Replied by Brian Faries on topic Authorize.net Accept Hosted Payment Plugin Cancel URL
Thanks Tuan! I as well added the return and cancel params to call within your PHP (if ($this->params->get('payment_complete_url_menu_item_id')) and if ($this->params->get('payment_cancel_url_menu_item_id'))) to the XML, I have a custom cancel page that I use, and that's working fine - but could those be added on your end as well in case others need them?
Thanks again!
Thanks again!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
10 hours 10 minutes ago #179313
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Authorize.net Accept Hosted Payment Plugin Cancel URL
Yes, I will add that. Thanks Brian
Tuan
Tuan
The following user(s) said Thank You: Brian Faries
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.