Paypal : Three Different Postages?

This forum is dedicated to discussions about shopping carts/ecommerce.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
Post Reply
User avatar
donjohnson24
 
 
Posts: 105
Joined: Thu Sep 27, 2012 9:32 pm
Location: Bridgwater, Somerset, UK
Contact:

Re: Paypal : Three Different Postages?

Post by donjohnson24 »

ColinM wrote: But yes, looking forward to you getting back to me Jon - awesome that you've done exactly what I wanted. :D
This is the content of one of the HTML boxes which appear in the Order column of the table:

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XXXXXXXXXXXXXXX">
<table>
<tr>
<td>
<p align="center"><input type="hidden" name="on0" value="Destination">Destination</p>
</td>
<td><select name="os0">
<option value="UK">UK £39.00</option>
<option value="Europe">Europe £41.00</option>
<option value="Rest of World">Rest of World £42.00</option>
</select> </td>
</tr>
</table>
<input type="hidden" name="currency_code" value="GBP">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>


I guess that the XXXXXXXXXX would be a unique code appropriate to the PayPal account, so I've overwritten it

This code was created by, and then copied from, PayPal - starting from somewhere like
https://developer.paypal.com/docs/class ... s-buttons/

but I can't remember the exact procedure at the moment (my excuse is I'm 75 :lol: )

No doubt you will be able to create your own buttons with these hints ?

. . . . and its Don, not Jon

I hope this helps
User avatar
ColinM
 
 
Posts: 962
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: Paypal : Three Different Postages?

Post by ColinM »

donjohnson24 wrote:
ColinM wrote: But yes, looking forward to you getting back to me Jon - awesome that you've done exactly what I wanted. :D
This is the content of one of the HTML boxes which appear in the Order column of the table:

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XXXXXXXXXXXXXXX">
<table>
<tr>
<td>
<p align="center"><input type="hidden" name="on0" value="Destination">Destination</p>
</td>
<td><select name="os0">
<option value="UK">UK £39.00</option>
<option value="Europe">Europe £41.00</option>
<option value="Rest of World">Rest of World £42.00</option>
</select> </td>
</tr>
</table>
<input type="hidden" name="currency_code" value="GBP">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>


I guess that the XXXXXXXXXX would be a unique code appropriate to the PayPal account, so I've overwritten it

This code was created by, and then copied from, PayPal - starting from somewhere like
https://developer.paypal.com/docs/class ... s-buttons/

but I can't remember the exact procedure at the moment (my excuse is I'm 75 :lol: )

No doubt you will be able to create your own buttons with these hints ?

. . . . and its Don, not Jon

I hope this helps
First off a correction - apologies on the typo Don :D

Yes, I did have a chance Don to dig further into one of my Client's PayPal account and upgraded mine to a business account (to assess the situation) and you are right, the code is generated by PayPal when creating buttons - then the code is imbedded in your WB project with, as you say. a code unique to that PayPal account. I've also had a chance to discuss the options at this stage with my Client and he prefers having three PayPal buttons (each one configured with the appropriate postage) - so I'll go down that path.

I had actually explored this before (my 59 YO failing memory :lol: ) - it all came back to me.

Another issue arose - that of linking to an image in the Client's PayPal config and HTTP/HTTPS mixed content without assigning a digital certificate to the Client's website - otherwise you get a browser prompted "unsecure content" warning - which is offputting to a buyer and seen on far too many websites - even Government ones.

But the Client doesn't want to pay for that so we'll just run with a text label identifier in their PayPal account.

Thanks Don - you've been VERY helpful and well done in keeping your Brain sharp at 75! :D
Yours truly
Colin M
Western Australia
Post Reply