close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart4 using paypal payments standard give customer a printable receipt

Thread began 10/24/2011 5:20 pm by JBWebWorks | Last modified 11/01/2011 11:23 am by Jason Byrnes | 703 views | 6 replies |

JBWebWorks

eCart4 using paypal payments standard give customer a printable receipt

Using eCart 4 and paypal payments standard, i can set up in the paypal account an auto redirect to the checkout_success page (so that a person does not have to click on 'return to merchant' but is automatically redirected).
My question is when the customer is redirected to the checkout_success page can i use sessions to show their purchase on the checkout_success page and have them print it as a receipt? Or since the order info is in the database, could a recordset populate the receipt information?

thanks for your help

Sign in to reply to this post

Jason ByrnesWebAssist

the checkout success page created by the wizard should already be populated by the cart information, make sure the return URL you use is for the same exact domain.

in other words, if you start shopping at www.domain.com make sure the return URL point to www.domain.com and not domain.com

Sign in to reply to this post

JBWebWorks

Jason, another question

using paypal payments standard.
on the confirm page the info that goes to paypal includes the item ID from this input

php:
<input type="hidden" name="item_number_<?php echo $SecretWishes_Index+1?>" id="item_number_<?php echo $SecretWishes_Index+1?>" value="<?php echo $SecretWishes->DisplayInfo("ID"?>" />



can i add another input to send the size to paypal?

thanks,
-Jim Balthrop

Sign in to reply to this post

Jason ByrnesWebAssist

not add another input, but you can concatenate the size to the name input, just after the Item Number hidden element is one for name:

php:
<input type="hidden" name="item_name_<?php echo $SecretWishes_Index+1?>" id="item_name_<?php echo $SecretWishes_Index+1?>" value="<?php echo $SecretWishes->DisplayInfo("Name"?>" />





you can add the size to the name value:

php:
<input type="hidden" name="item_name_<?php echo $SecretWishes_Index+1?>" id="item_name_<?php echo $SecretWishes_Index+1?>" value="<?php echo $SecretWishes->DisplayInfo("Name"?> -Size: <?php echo $SecretWishes->DisplayInfo("Size"?>" />
Sign in to reply to this post

JBWebWorks

thanks Jason

Sign in to reply to this post

JBWebWorks

One more question-
I have cart working with payments standard and the customer is automatically returned to /checkout_success.php
Can I add Paypal checkout express? If so, where would it be added and would checkout_success.php need to be changed any way?

Sign in to reply to this post

Jason ByrnesWebAssist

durring the checkout wizard, you have the option to select to use express checkout to. I would delete the existing checkout pages, then re run the wizard and select the option to include checkout express.

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