close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Posting Order Data and Payment Confirmation Process

Thread began 11/19/2009 10:12 am by Kevin373660 | Last modified 11/19/2009 3:13 pm by Eric Mittman | 804 views | 1 replies |

Kevin373660

Posting Order Data and Payment Confirmation Process

This is my first time using eCart 4.5.2, php and MySQL, with a remote payment processing through Authorize.net. After running the Checkout Wizard, the pages are partly working up to the confirm page.

Once the confirm page is reached the data is posted to the orders and orderDetail tables. I still need to setup the confirmation email to the customer and post to an additional table. At this point the customer has not been directed to the payment gateway to remotely enter their financial payment information.

I seem to be missing the logic and would appreciate it someone could fill in the blanks?

1. Do I have to set up that form through my Authoriz.net account? I believe so.

2. Then the customer is returned back to the website. How and is that the checkout_success page?

3. Why not wait to post the data into the tables until the payment has been successful. And at what point/page/trigger do I set up the customers email receipt? It seems to me that the customers email receipt could be triggered on load of the checkout_success page.

Please & thank you. Maybe there are some additional documents that I have missed and I can understand that there are many possible combinations for this depending on the payment gateway chosen.

Sign in to reply to this post

Eric Mittman

With a remote checkout you will not know the status of the transaction until sometime after the user is sent back to your site, because of this you shouldn't assume that the order was successful and send the user to the checkout success page. You should have the user returned to a page on your site and use the checkout form bindings for your checkout to check the status of the transaction. If you determine that the transaction was successful then you can redirect the user to a checkout success page where you have a Universal Email server behavior that will send the receipt.

The reason that you store the info in the db before the user is sent off to the remote checkout is because when you leave the domain your session will likely not be retained, so to get the details of the order it needs to be looked up from the database.

So I think the first step for you would be to create the page that the user will be sent back to. You will want to add in the checkout form variables by going to Bindings > eCart > checkout > checkout form response then choose Authorize.NET POST. This will give you the bindings that hold the values Authorize.Net sends back to your page. You can check the values returned and send the user to one page or another depending on what the values are. You should login to your Authorize.NET account and find the documentation for the checkout, it will explain what the values are and what they mean.

Please post back with any other questions that you have about any part of this and we will be glad to help you with whatever we can.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...