close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

paypal information pass-thru

Thread began 6/19/2012 12:54 pm by barkmail439219 | Last modified 6/20/2012 11:30 am by Jason Byrnes | 2431 views | 9 replies |

barkmail439219

paypal information pass-thru

Have paypal standard. Just finished speaking with them because the notification of order that I receive from them does not contain variables within the order (ie. style choice nor engraving details).

These are both options that I have added to my ecart.

I have an email from Paypal showing the code passthrough. The 2 fields I am talking about pass through no value.

here is the first section of that code:

business=barkmail%40nitrodog.com&

amount_1=15&

item_name_1=small+enamel+ID+tag&

item_number_1=90088&

quantity_1=1&

on0_1=&

os0_1=&

on1_1=&

os1_1=&

handling_cart=0&

tax_cart=0&

I need this information to pass through to Paypal so I can properly process the order.

I am adding the style selection list in the properties management area.
The customer adds in the engraving detail in the text area provided.

I attached the page with those test buttons on it in case they are structured wrong.

Thank you.

Attached Files
Tags_RD.zip
Sign in to reply to this post

Jason ByrnesWebAssist

on the confirm page, there is a collection of hidden elements that pass the order information to paypal.

you will need to edit those hidden elements.

you will find 4 of them, that look smilar to this;

php:
<input type="hidden" name="on0_<?php echo $eCart1_Index+1?>" id="on0_<?php echo $eCart1_Index+1?>" value="" />
<input type="hidden" name="os0_<?php echo $eCart1_Index+1?>" id="os0_<?php echo $eCart1_Index+1?>" value="" />
<input type="hidden" name="on1_<?php echo $eCart1_Index+1?>" id="on1_<?php echo $eCart1_Index+1?>" value="" />
<input type="hidden" name="os1_<?php echo $eCart1_Index+1?>" id="os1_<?php echo $eCart1_Index+1?>" value="" />



the first one:

php:
<input type="hidden" name="on0_<?php echo $eCart1_Index+1?>" id="on0_<?php echo $eCart1_Index+1?>" value="" />



is for passing the option name:

php:
<input type="hidden" name="on0_<?php echo $eCart1_Index+1?>" id="on0_<?php echo $eCart1_Index+1?>" value="Style" />



the second one:

php:
<input type="hidden" name="os0_<?php echo $eCart1_Index+1?>" id="os0_<?php echo $eCart1_Index+1?>" value="" />



for passing the option value, set its value to use the Style cart column binding.

again the 3rd is also for passing an option name, set the value to "Engraving", the forth is to pass the engraving column from the cart.

Sign in to reply to this post

barkmail439219

thank you Jason.

Not being a programmer, would it be OK for you to send me the exact code line to cut and the exact code line to paste in? I would very much appreciate that.

the two option names are:
style
engraving

thanks again....

Sign in to reply to this post

Jason ByrnesWebAssist

you would need to send me a copy of your confirm page for me to give the exact code changes.

Sign in to reply to this post

barkmail439219

I'd be delighted...here you are....

Attached Files
confirm.zip
Sign in to reply to this post

Jason ByrnesWebAssist

357 - 360:

php:
<input type="hidden" name="on0_<?php echo $Nitrodog_Index+1?>" id="on0_<?php echo $Nitrodog_Index+1?>" value="" />

<input type="hidden" name="os0_<?php echo $Nitrodog_Index+1?>" id="os0_<?php echo $Nitrodog_Index+1?>" value="" />
<input type="hidden" name="on1_<?php echo $Nitrodog_Index+1?>" id="on1_<?php echo $Nitrodog_Index+1?>" value="" />
<input type="hidden" name="os1_<?php echo $Nitrodog_Index+1?>" id="os1_<?php echo $Nitrodog_Index+1?>" value="" />



to:

php:
<input type="hidden" name="on0_<?php echo $Nitrodog_Index+1?>" id="on0_<?php echo $Nitrodog_Index+1?>" value="Style" />

<input type="hidden" name="os0_<?php echo $Nitrodog_Index+1?>" id="os0_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("Style"?>" />
<input type="hidden" name="on1_<?php echo $Nitrodog_Index+1?>" id="on1_<?php echo $Nitrodog_Index+1?>" value="Engraving" />
<input type="hidden" name="os1_<?php echo $Nitrodog_Index+1?>" id="os1_<?php echo $Nitrodog_Index+1?>" value="<?php echo $Nitrodog->DisplayInfo("Engraving"?>" />
Sign in to reply to this post

barkmail439219

Thank you.

Just hung up from Paypal.

They are saying that essentially the checkout and the confirm pages are redundant to what they supply, and that to streamline, I should go from the shopping cart page to Paypal. The customer would then enter in their shipping information.

Opinion?
If good, do I need to do some adjusting as to these fields we've been discussin?

thanks

Sign in to reply to this post

Jason ByrnesWebAssist

It "Could" be done that way, but really shouldn't.

Sign in to reply to this post

barkmail

OK. thanks.

Would it be OK to eliminate just the confirm page since that info is duplicated on the Paypal page?

Sign in to reply to this post

Jason ByrnesWebAssist

No, the confirm page is necessary.

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