close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Can a receipt be regenerated?

Thread began 6/03/2012 11:18 pm by lr_leal239405 | Last modified 6/07/2012 11:58 am by lr_leal239405 | 1956 views | 8 replies |

lr_leal239405

Can a receipt be regenerated?

I had an error in my code briefly and missed out on some order receipts being generated on checkout. Is there a way to generate a receipt without going through the checkout?

Sign in to reply to this post

Jason ByrnesWebAssist

what gateway system are you using?

the answer to your questions depends on the gateway.

Sign in to reply to this post

lr_leal239405

I'm using Paypal. But the receipt I want to reissue is the one eCart generates with our info from the database along with our order number etc. Can it be done?

Sign in to reply to this post

Christopher WestCommunity Expert

I plan to code the same thing your doing...the way Im going to do this is create a button in my admin form...say under a customer detail page. the clickable button will redirect to a php page with only a Universal Email behaviour on it (this will trigger on page load) using the customer ID as a URL reference I pull the required info from the orders/order details records for that customer ID. lay it out nicely (I just simply copied/pasted the code from my confirm.php page) then on the same page it redirects back to the customer detail page :)

Chris

Sign in to reply to this post

Jason ByrnesWebAssist

you say you are using paypal, but don't mention whether it is paypal standard or paypal payments pro.

the process is vastly different between the two, please be more specific.

Sign in to reply to this post

lr_leal239405

It's Paypal Payments Pro.

Thanks designerwest for the suggestion. I don't have a customer login. It's not required to place an order. Therefore there's no detail page where they can pull up their orders.

Sign in to reply to this post

Christopher WestCommunity Expert

well the suggestion I gave didnt just relate to a customer login system, everything you need should be stored in sessions. so just transfer all that into an "orders summary" and "orders detail" record in your database. for mine I also used the servertime to be stored in a session and I used this for the ordernumber (since the servertime is always counting up. (I also stored and referenced this with the customer surname). anyway once its all in an orders record then you are all set to create the page to display it on screen or to create an email template :)

Chris

Sign in to reply to this post

Jason ByrnesWebAssist

All of the order number information, billing address and shipping address is stored in session variables.

Take a look on the Checkout success page, at where the order number is displayed, this will tell you the session variable name to use in the receipt.

in the bindings panel, expand the session collection and you should find a binding for the order number session, and a bunch of others whose names begin with eCart_checkoutForm_, those are the sessions that contain the billing and shipping information.


On the confirm page, add the Universal Email create email behavior. for the to address, click the lightning bolt icon and select the eCart checkout form email session variable.

for the body, click the DW Edit icon to design the email message using Dreamweaver.

To show the cart contents, add a cart display manager, select the email friendly display type.

to show the billing and shipping address, use the ecart checkout form session bindings.

Sign in to reply to this post

lr_leal239405

Thanks Jason and designerwest for the response. I think Jason, you gave me info for issuing the receipt, not RE issuing the receipt. The automation of issuing a receipt is already working but as I explained, some people didn't get one because of some scripts I had accidentally overwritten. So the session is already closed at this point. However, between your answer and designerwest's answer I got it. I'll do what designerwest did and use the checkout success page for the template or the email template. Thanks both.

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...