Adding a Cancel link on the Authorize.net Payment

  • Posts: 20
  • Thank you received: 0
12 years 2 months ago #62475

Form

Hi! This cancel link is driving me crazy.

From my Authorize.net Payment Gateway there is an option to include a Cancel link on the payment form, but it requires inserting the following:
x_cancel_url

Value: The URL to follow when the user clicks the Cancel link.
Notes: This is an API parameter only, and is not available as a setting in the merchant interface.
x_cancel_url _text

Value: Custom text for the Cancel link.
Format: The default value is “Cancel”.
Notes: This is an API parameter only, and is not available as a setting in the merchant interface.

I may have found the right file, but I don't want to mess it up again.
I did a complete fresh install of Joomla and found that a lot of my errors in all applications were really messed up. I seem to have a lot more functionality now even without jQuery easy which is not so simple to configure.....grin.....

Any word yet on releasing the latest update?

Thank you. Your support is amazing.

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

  • Posts: 82796
  • Thank you received: 13357
  • MODERATOR
12 years 2 months ago #62662

Hi,

The update has been released today.

if you want to add such parameters you can edit the file plugins/hikashoppayment/authorize/authorize_end.php and add such lines at the beginning :

<?php $vars['x_cancel_url']='http://my_website_return_url';
$vars['x_cancel_url _text']='return to the shop'; ?>

The following user(s) said Thank You: LenaK

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

  • Posts: 51
  • Thank you received: 0
11 years 9 months ago #88269

Would the code below resolve a process problem I'm having, in that whenever Authorize.net is called, an order is created. Even if the payment is unsuccessful. Recently a payment was attempted, and failed 3 times. Three orders were created in HikaShop. The only way I can see to get back to the shop is to use the browsers Back Button and wondered if that is what caused the order to submit.

Was there a configuration setting in the Authorize.net plugin that I missed?

Thanks!

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

  • Posts: 82796
  • Thank you received: 13357
  • MODERATOR
11 years 9 months ago #88455

Hi,

An order is created each time you finish the checkout. However, the order is only confirmed after the payment. That's how you can tell if an order should be shipped or not.
That's the normal behavior.
If you want to have orders created only after the payment is made, you should use the AIM mode where the payment happens at the end of the checkout, just before the order is created and thus the order is only created when the payment is made.

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

Time to create page: 0.049 seconds
Powered by Kunena Forum