Jump to content
CubeCart Bot

Authorize.Net - Accept Hosted

Recommended Posts

Just trying this out and got this when testing the order cancel button:

Not Found
The requested URL /modules/gateway/authorize_accept_hosted/cancel.phpl was not found on this server.

My first thought was there was a typo in the gateway.class.php file putting a stray character on the end of the php file name.  But I don't see any problems with it when I look at the file.  I also did a search over the entire store for "cancel.phpl" and there isn't anything.  So, it must be getting generated somewhere by a piece of typo'd code but I haven't been able to find it.

Share this post

Link to post
Share on other sites

Found it on line 192 of gateway.class.php:

"settingValue": "{\"showReceipt\": false, \"url\": \"'.$process_url.'\", \"urlText\": \"Confirm\", \"cancelUrl\": \"'.$cancel_url.'l\", \"cancelUrlText\": \"Cancel\"}"

Looks like an "l" got inadvertently typed in front of the backslash.  Needs to be corrected on the download package.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...