Authorize.net set up

Jan 23, 2010 at 4:55 AM

I set up Aurthorize.net on the NB_store. It seems to work except for the return Url is returning to the empty cart template. There isnt much talk about the authorize.net gateway on here. I Just was wondering if anyone got it working. Thanks

Coordinator
Jan 24, 2010 at 4:25 PM

HI,

I've had the Authorize.Net gateway working in test mode and it seems to be OK, the important thing to note is that the authorize.net gateway wants to display the return message on it's server, thefore your css from DNN won;t work correctly, hence the added need to create an additional tab to display your return message, have a read of the readme.txt that comes with the install package, hre's the section you need to look at :

 


Step 6 - Create a new page to be displayed on Authorize.Net.
 - Create a new DNN tab, visible to everybody.
 - Apply a blank skin, This must just have a "Content Pane" and the "DNN control panel".
 - Add the Checkout module to the tab.
 - Set the gateway in the settings to "Autorize.Net"
 - Make sure your "<returnURL>" in the "AuthorizeNet.gateway" gateway settings point to this new page. (This is what is displayed on Authroise.Net server)


Step 7 - Create a template called "PaymentOK.msg" in the NB_Store Templates. This message will be displayed on the new tab create.

Example:-
------------------------------------------------
Transaction OK <br/> <br/>
<a href="http://ecommercetest.nevoweb.com/Panier/tabid/56/stg/5/ordID/[ORDERID]/x_response_code/[x_response_code]/Default.aspx">Back to Store</a>
------------------------------------------------

Step 8 - Create a template called "PaymentFAIL.msg" in the NB_Store Templates. This message will be displayed on the new tab create.

Example:-
------------------------------------------------
Transaction FAILED <br/> <br/>
<a href="http://ecommercetest.nevoweb.com/Panier/tabid/56/stg/5/ordID/[ORDERID]/x_response_code/[x_response_code]/Default.aspx">Back to Store</a>
------------------------------------------------

 

Regards,

Dave.

Feb 16, 2010 at 12:37 AM

Dave

In Step 7: What do you mean by "This message will be displayed on the new tab create."?

- which new tab?

- create what?

 

Thank You

 

Paul

 

Coordinator
Feb 16, 2010 at 1:32 AM

Hi Paul,

Tab is the old DNN terminlogy for page... and the instructions have some spelling/grammar issues.

The steps Dave has pasted in are telling you to: 

Create a page, put the checkout module on it, set the gateway to Authorize.net, ensure that the gateway returnURL points to this same page. Then create two new templates in the back office. One PaymentOK.msg and one PaymentFAIL.msg.  Depending on the response from Authorize.net, one of these two templates will be display on the page where you have placed the checkout module.

Everything happens on the single page where the checkout module is.

Hope that helps,
Rob

Feb 21, 2010 at 12:53 PM

In steps 7 & 8 mentioned above, what does 'TabID 56' represent for you?

Is that the page you have the Checkout module on it?

 

Paul

 

Coordinator
Feb 21, 2010 at 9:02 PM

Hi Paul,

Yes, it's the tab with the checkout module on...but with the authorise.net gateway it's not usually  the same checkout module and tab that the user used to checkout from the store.

Dave.

Feb 22, 2010 at 2:53 PM

Yes, I think we are talking about the same page though.  In step 6 of your instructions:

"Step 6 - Create a new page to be displayed on Authorize.Net.
 - Create a new DNN tab, visible to everybody.
 - Apply a blank skin, This must just have a "Content Pane" and the "DNN control panel".
 - Add the Checkout module to the tab.
 - Set the gateway in the settings to "Autorize.Net"
 - Make sure your "<returnURL>" in the "AuthorizeNet.gateway" gateway settings point to this new page. (This is what is displayed on Authroise.Net server)"

We created a page and placed the checkout module on it.  Then in steps  7 & 8 we are pointing towards the same page.  I'm assuming that this is also your intention with TabID 56?

 

Paul

Coordinator
Feb 23, 2010 at 7:44 AM

Hi Paul,

I've had a quick look at your site and it seems setup OK.  I think the problem may be with the returnurl. make sure it's got the stg/4 in the url, this is how NB_Store knows to display the paymentOK message.

<ReturnURL>http://............/Cart/tabid/98/stg/4/Default.aspx</ReturnURL>

Then the gateway should pick up you payment OK/FAIL message....

Step 7 - Create a template called "PaymentOK.msg" in the NB_Store Templates. This message will be displayed on the new tab create.

Example:-
------------------------------------------------
Transaction OK <br/> <br/>
<a href="http://ecommercetest.nevoweb.com/Panier/tabid/56/stg/5/ordID/[ORDERID]/x_response_code/[x_response_code]/Default.aspx">Back to Store</a>
------------------------------------------------

Step 8 - Create a template called "PaymentFAIL.msg" in the NB_Store Templates. This message will be displayed on the new tab create.

Example:-
------------------------------------------------
Transaction FAILED <br/> <br/>
<a href="http://ecommercetest.nevoweb.com/Panier/tabid/56/stg/5/ordID/[ORDERID]/x_response_code/[x_response_code]/Default.aspx">Back to Store</a>
------------------------------------------------

 

After that the client will click the "Back to Store" button and be redirected to you store, which should show the completed order details.

 

Regards,

Dave.

Feb 23, 2010 at 7:13 PM
Dave

Seems like we are making progress...I didn't have the 'stg/4' in the URL.  So, now it seems to have moved past the 'Your cart is empty', BUT instead it's telling me 'An error has occurred. Error: Checkout is currently unavailable.

Any ideas?  (Refer to attached image)

Paul

On Tue, Feb 23, 2010 at 3:44 AM, leedavi <notifications@codeplex.com> wrote:

From: leedavi

Hi Paul,

I've had a quick look at your site and it seems setup OK.  I think the problem may be with the returnurl. make sure it's got the stg/4 in the url, this is how NB_Store knows to display the paymentOK message.

<ReturnURL>http://............/Cart/tabid/98/stg/4/Default.aspx</ReturnURL>

Then the gateway should pick up you payment OK/FAIL message....

Step 7 - Create a template called "PaymentOK.msg" in the NB_Store Templates. This message will be displayed on the new tab create.

Example:-
------------------------------------------------
Transaction OK


http://ecommercetest.nevoweb.com/Panier/tabid/56/stg/5/ordID/[ORDERID]/x_response_code/[x_response_code]/Default.aspx">Back to Store
------------------------------------------------

Step 8 - Create a template called "PaymentFAIL.msg" in the NB_Store Templates. This message will be displayed on the new tab create.

Example:-
------------------------------------------------
Transaction FAILED


http://ecommercetest.nevoweb.com/Panier/tabid/56/stg/5/ordID/[ORDERID]/x_response_code/[x_response_code]/Default.aspx">Back to Store
------------------------------------------------

 

After that the client will click the "Back to Store" button and be redirected to you store, which should show the completed order details.

 

Regards,

Dave.

Read the full discussion online.

To add a post to this discussion, reply to this email (NBStore@discussions.codeplex.com)

To start a new discussion for this project, email NBStore@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com


Mar 8, 2010 at 9:34 PM

I am trying out the same authorize.net gateway for NB_store (which I think is very nice). I am able to get to test authorize site and complete transaction, however the redirect (<ReturnURL>http://www.aaaaaa.org/sphere/Checkout/tabid/307/stg/4/Default.aspx</ReturnURL>) lands me at my site with a authentication page showing, and the https://secure.authorize.net/gateway/transact.dll is still in the url. it seems the post back from authorize.net is trying to authenticate back on the site.

any ideas. ??

 

(((using blank skin for checkout

I have gone through the readme file and followed direction from the alpha 1 download)))

Coordinator
Mar 9, 2010 at 9:27 PM

Hi,

yes, I think you need to use stg/5/ in the returnurl....

<ReturnURL>http://www.aaaaaa.org/sphere/Checkout/tabid/307/stg/5/Default.aspx</ReturnURL>

 

the stg5 tells NB_Store it's the return URl, the stg/4/ tells NB_Store it's the notification URL.

 

Regards,

Dave.

Feb 22, 2011 at 4:22 AM

Hi Everybody:

I am looking at this thread as i get Authorize.net set up. I have everything almost working but right now i have the problem that Paul2008 described. I see the message that says transaction Ok but when I click on the link to return to the store I get 'An error has occurred. Error: Checkout is currently unavailable. From the instructions it is not clear if the url sed in the  "PaymentOK.msg" and "PaymentFAIL.msg" should be for the blank page that we created in step 6, or if they should be for the page that has the checkout that the users see. 

 

Help is really appreciated.

Feb 22, 2011 at 5:44 AM

I found this is what is causing my issue:

http://nbstore.codeplex.com/discussions/240897

Coordinator
Feb 22, 2011 at 6:44 AM

Hi,

Have you tried the v2.2 beta, and does it work OK?

Regards,

Dave.

Feb 23, 2011 at 2:41 AM

Yes, I did upgrade last night and now everything works fine. Thanks.

Sep 15, 2011 at 2:56 AM

Dave, i cannot figure out why i cannot place an order on my site. after payment info is typed in site goes into the login page, css is not displayed properly and payment does not go thru. Please help

Sep 15, 2011 at 4:53 AM

I upgraded to 02.03.01 Looks very nice!

looks like the payments are going thru authorize.net but the store

  • does not mark the order as PaymentOK and
  • it does not utilize the PaymentOK.msg and PaymentFAIL,msg 

i created a new page called OrderThankYou.aspx as described in the documentation but PaymentOK and PaymentFAIL contents does not display on it.

so i decided to insert an HTML module into this page and let the customer know that the order has been accepted, though what happens if its not?

anyways, can you help me?

Coordinator
Sep 15, 2011 at 6:46 AM

Hi,

Have you place the checkout module on the OrderThankYou page?

Oct 13, 2011 at 1:15 PM

Hello there!

@gregoryvolkov: Have you solved the problem? I am having the same problem. After being redirected to: https://test.authorize.net/gateway/transact.dll and after submitting with the testing credit card number I get the next message:

An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

      This transaction has been approved.
It is advisable for you to contact the merchant to verify that you will receive the product or service.

 

Any one else is having the same problem?

May 20, 2014 at 5:00 PM
Hello,

Yes @enekux I'm having the same problem were you able to figure it out?
May 21, 2014 at 3:01 PM
Hello Everyone,

After contacting Authorize.net support and playing around with the return link it seems authorize.net did not like the syntax of the return URL and thats what caused that message to display "an error occured while trying to report....etc....." for anyone running DNN 7 this is what fixed it for me.

I set the return URL in the AuthorizeNet.gateway like this:
<ReturnURL>http://www.frenchalchemist.com/Our-Products(This is my cart page)/AuthorizeNet(The return w/blank skin)/tabid/(insert your TABID HERE)/stg/5/ordID/[ORDERID]/x_response_code/[x_response_code]</ReturnURL>

so basically a URL with the path to your empty skin page w/instance of checkout module on it and add the following to the end of the URL:
/tabid/(insert your TABID HERE)/stg/5/ordID/[ORDERID]/x_response_code/[x_response_code]

& i set the same URL in the paymentOK and paymentFAIL templates. Everything seems to be working fine now.
Coordinator
May 22, 2014 at 2:27 AM
OK thanks for posting back. It's probably worth while saying that the url re-writer in DNN is only a re-writer, the original urls should still work in their "original internet format", so I would expect an unchanged url to work as well, and this would probably be more stable for this type of return.

So something like this will probably work just as well.....

<ReturnURL>http://www.frenchalchemist.com?tabid=(insert your TABID HERE)&stg=5&ordID=[ORDERID]&x_response_code=[x_response_code]</ReturnURL>
Nov 12, 2014 at 1:35 PM
I ran into this issue and describe the solution (hopefully well enough for others to understand) to keep friendly URLs intact during checkout.

https://nbstore.codeplex.com/discussions/548526