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?
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?
what gateway system are you using?
the answer to your questions depends on the gateway.
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?
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
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.
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.
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
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.
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.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.