AuthorizeNET - Return URL is not working

  • Posts: 9
  • Thank you received: 0
13 years 9 months ago #7625

Everything appears to work from the Shopping Cart to the AuthorizeNET Payment form (all details are presented correctly).

Then when you process the payment, it provides the "Thank your for your Order!" page ... No redirection or Button to return to the site.

What have I overlooked?

FYI
- I have the default workflow: login_address_shipping_payment_confirm_coupon_cart_status_fields,end
- The Return URL is set to: www.deborahkayes.com

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7626

That's strange because no one had such problem so far.
Could you do a screenshot of the options of the auhtorize.net payment plugin options ?
Did you modify the file plugins/hikashoppayment/authorize_thankyou.php

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

  • Posts: 9
  • Thank you received: 0
13 years 9 months ago #7632

My mistake...

[Allow payment notifications from Authorize.net] option was OFF instead of ON.

If I want to modify the basic "Thank your.... link" - should I simply modify the "authorize_thankyou" under [Displya] - [Views] section of [Configuration]?

FYI... I think it's important to convey the brand (logo & custom message)

Thanks... ALPESH

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7633

It's not possible to edit that view via the interface in Display->Views.
If you want to edit views of hikashop plugins, you will need to do it manually:

Go in the folder of your plugin via FTP : plugins/hikashoppayment/authorize/ or plugins/hikashoppayment/ depending on your version of joomla.
Copy the file of your view (authorize_thankyou in that case) and paste it in the folder templates/YOUR_TEMPLATE/hikashoppayment/auhtorize/
Edit the copy. That way, you won't loose your changes when you update.

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

  • Posts: 9
  • Thank you received: 0
13 years 9 months ago #7675

I followed you instructions...

Copied the authorize_thankyou.php from /plugins/hikashoppayment to /templates/rt_mynxx_15/hikashoppayment/authorize

I modified the new file... Testing shows no difference

I tried moving the file to /templates/rt_mynxx_15/hikashoppayment ... it works

Thanks for the direction!

NEW ISSUE (related)...

After posting a live transaction to Authorizenet (status: Captured/Pending Settlement)... the system (HikaShop) emailed this response: "Hello, An Authorize.net notification was refused because the response from the Authorize.net server was invalid"

I've attached a screenshot...

Attachments:

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

  • Posts: 9
  • Thank you received: 0
13 years 9 months ago #7676

Similar when I run a Transaction in TEST mode.


Thanks... ALPESH

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7684

That error happens when there is a mismatch in the security string sent by authorize.net
That would happen if the MD5 hash was different in HikaShop and Authorize.net (or if someone else than authorize.net was trying to validate a payment which is not the case)

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

  • Posts: 9
  • Thank you received: 0
13 years 9 months ago #7688

I'll re-issued a new the MD5 Hash and update Hikashop & AuthorizeNet... Same result??

Question... The site is being prototyped under www.DeborahKayes.net (live site will be DeborahKayes.com )... Could this be the issue?

Note: Even with the error, when I tested a transaction LIVE, it did "Capture/Pending Settlement" the transaction.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7690

Could you copy/paste your payment log file (the path can be configured in the tab files of the configuration) ?
Could you check that the information of the response is correct (x_amount => the total amount, x_trans_id => the order id) ?

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

  • Posts: 9
  • Thank you received: 0
13 years 9 months ago #7739

The issue was resolved via AuthorizeNET

FYI... AuthorizeNET does evaluate the Domain when receiving data.

Within AuthorizeNET, you need to add the additional URL
- Select [Account] - top menu
- Select [Settings] - left menu
- Click [Response/Receipt URLs]
- Click [Add URL] link

The error nolonger exists & the transaction posts (LIVE mode)

ANOTHER QUESTION IN THE PROCESS?
- The transaction posts correctly (Captured/Pending Settlement is reported in Authorizenet)
- This means a Authorization Code was issued - Is this not a Successful notice?
- Yet Hikashop reports "Created" - which reflects a Pending Status
- How do we get Hikashop to record it as "Confirmed"

Thanks

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7741

Pending Settlement means that you didn't yet accept the payment in authorize.net
Thus, the order isn't confirmed.
You would have to set the option to automatically settle the payments in authorize.net...

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

  • Posts: 9
  • Thank you received: 0
13 years 9 months ago #7764

Thanks...

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

  • Posts: 35
  • Thank you received: 0
13 years 1 month ago #27883

Hello:

This has been a useful thread for me but I am still having trouble to get authorize.net plugin to work the way I want.
I would like that after the payment is complete that the customer is automatically redirected to the default 'thank you page' aka after_end
instead of having to click the link.
Is this possible? What and where would I modify?

Thank you.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 1 month ago #27885

If you enter the URL of that page in the "return URL" option of the authorize.net plugin that should be the case.

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

  • Posts: 35
  • Thank you received: 0
13 years 1 month ago #27890

It doesn't matter what link I put in the Return URL field:

www.google.com
index.php?option=com_hikashop&ctrl=checkout&task=after_end&order_id=&Itemid=138
dni-tango.com/ambition/index.php?option=...order_id=&Itemid=138
etc

The 'You can go back to the shop by clicking on this link' is there but there is no automatic redirection

Thanks

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 1 month ago #27891

The redirection is done in javascript. If it doesn't work, it means that you have a javascript error on the page. Could you check the javascript error console of your browser while you're on that page ?

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

  • Posts: 56
  • Thank you received: 0
11 years 3 months ago #118929

I would like to have the customer automatically redirected to the default 'thank you page' hosted on my site aka "end" in the checkout workflow. Is this possible?

Right now it goes to a thank you page on Authorize.net that gives you a link to click back to the website. Ideally, I'd like to skip this page and auto redirect to the end page hosted on my website.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 3 months ago #118991

Hi,

But the problem is that we can't modify anything in the Authorize.net website.
If they don't have an automatic redirection, we can't do anything in HikaShop to change it.
You can contact Authorize.net in order to have more information but in our side we can't do anything because it's not in HikaShop and not in your website.

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.111 seconds
Powered by Kunena Forum