close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Ecart 5 - PayPal Standard - Email of order details

Thread began 1/21/2014 12:23 pm by Christie | Last modified 2/13/2014 4:18 pm by Christie | 914 views | 18 replies |

Christie

Ecart 5 - PayPal Standard - Email of order details

Hi - Ecart 5 is working well but it seems the order details are not passed thru to PayPal standard. I need the order details as the items I sell are very custom. Therefore, I have used the email in Data Bridge to create an email that I would like to send (to myself and the buyer) when the buyer leaves my site for paypal. To create the body of the email, I inserted the ecart display (email friendly version) in the message.

My questions for the moment are:
1. Will this work?
2. What should I put for the Trigger in the email wizard?

Thank you, Christie

Sign in to reply to this post

Jason ByrnesWebAssist

it will work to an extent.

first, you have to understand that paypal standard is not a real time payment processor, so any emails that you receive should not be treated as payment confirmation since the emails are sent before the user goes to the paypal site if you add it to the confirm page. adding to the confirm page, use the any form post trigger but understand that means the email is sent when the checkout page posts to the confirm page.

you should use your paypal account to verify the purchases.

with paypal standard, they use an IPN system to make notification of payment success. to send the emails on payment success, you would need to configure an IPN page. you would also need to store the order information to a database in order to retrieve the cart data on the IPN page


see the paypal IPN documentation for more details:
https://www.paypal.com/cgi-bin/webscr?cmd=p/acc/ipn-info-outside

Sign in to reply to this post

Christie

Ok - I think I am understanding this. Is there any way for the email to be sent when the buyer clicks on the Submit Order button of the confirm.php page?

And is this situation the same for eCart6 and PayPal standard?

Sign in to reply to this post

Jason ByrnesWebAssist

no, there is not a way to trigger the email when the confrim page submits, because the confirm page submits to the paypal server.


maybe a better option would be to concatenate the Description column to the name that is passed to paypal. for exmple, the code on the confim page that passes the name will look something like this:

<input type="hidden" name="item_name_<?php echo $WA_Store_Cart_Index+1; ?>" id="item_name_<?php echo $WA_Store_Cart_Index+1; ?>" value="<?php echo $WA_Store_Cart->DisplayInfo("Name") ?>" />

you could add the description column to it as long as name + description is less than 127 characters:

<input type="hidden" name="item_name_<?php echo $WA_Store_Cart_Index+1; ?>" id="item_name_<?php echo $WA_Store_Cart_Index+1; ?>" value="<?php echo $WA_Store_Cart->DisplayInfo("Name") ?> <?php echo $WA_Store_Cart->DisplayInfo("Description") ?>" />


PayPal standard in eCart 6 works the same as in eCart 5, it's not a limitation to eCart, it's the way the PayPal standard gateway works.

Sign in to reply to this post

Christie

I found the line you referenced above.
Do spaces count as part of the 127 characters?
Let's say my order options are "motif" and "firstName".
Would I add this section of code for each option? Such as......<?php echo $WA_Store_Cart->DisplayInfo("motif") ?> <?php echo $WA_Store_Cart->DisplayInfo("firstName") ?>

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

yes, spaces are counted in the character count, and yes, each column would need to be added.

Sign in to reply to this post

Christie

I tried this with two of the product options. On Mamp (and the live server) when I go to the confirm page the buttons (modify order, submit order) at the bottom are missing. I can see them in the design view though.


OK Update: I had my cart name wrong. It seems to be working. On the first page of PayPal you have to highlight the words to see all of order details. Do you know what it will look like on the email receipt sent by paypal? (Will my customer be able to easily see the order details?)

Sign in to reply to this post

Jason ByrnesWebAssist

You would have to test an order to completion in order to see what the email will look like for certain. I don't see why it shouldn't show all the details.

Sign in to reply to this post

Christie

Yes I will do a test order shortly.

Previously, I altered the cart display code in the display manger to display only the options needed for each item. This worked perfectly on the first shopping cart page and the order confirm page. It now does not work on the confirm page. I added the additional (if clause) code to the confirm page but it did not make a difference. Any suggestions?

Sign in to reply to this post

Jason ByrnesWebAssist

no telling without seeing the code.

send a copy of the page.

it is impossible to troubleshoot a code issue without seeing the code in question.

Sign in to reply to this post
loading

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