PDA

View Full Version : PayPal Code in settings->currency?


silurius
10-12-2005, 07:52 AM
What does the PayPal Code in settings->currency refer to?

Also, if I set up a currency, why might an item say "* Item not availible in Dollars's" when browsing my store?

The Geek
10-12-2005, 08:29 AM
Hey Siluris :)

The PayPal code is TLA for the currency.

GBP = £
USD = $US
EUR = €

The Item not available in Dollars's (geez, sounds like Gollum) error is because the item in question does not have a value in the $ cost.
Each item has a price slot for the currency in question. If the value is 0, then its free. If the value is empty, then it isn't available for that currency.
This s through to things like base postage and vendor base postages too. If the value is blank, or non numerical... it isn't 'available' for that item.

This helps you to offer a wide range of postage/currency items but allows you to restrict the sale of certain items to certain currencies/postage methods.

HTH's

silurius
10-12-2005, 02:56 PM
Hey Siluris :)

The PayPal code is TLA for the currency.

GBP = £
USD = $US
EUR = €

The Item not available in Dollars's (geez, sounds like Gollum) error is because the item in question does not have a value in the $ cost.
Each item has a price slot for the currency in question. If the value is 0, then its free. If the value is empty, then it isn't available for that currency.
This s through to things like base postage and vendor base postages too. If the value is blank, or non numerical... it isn't 'available' for that item.

This helps you to offer a wide range of postage/currency items but allows you to restrict the sale of certain items to certain currencies/postage methods.

HTH's


Thanks!

Edit...erm, well, that didn't work. PayPal sandbox rejected the code. Could you spell out the four fields on the currency page in greater detail? (You know, "Barney style" as they say?)

Could you explain the "Mod", "Ordinal" and "Status" fields on the Item page? Or do you have notes anywhere here on the forums? I assume the inline help will come with the next official release, or something. (Any idea when that will be?)

This is a great product, by the way. Very crisp and clean.

The Geek
10-12-2005, 03:34 PM
Ill see if I can get some screenies up to show you. Those codes are pretty standard... maybe you put the = and currency symbol in too.

The codes are:
GBP
USD
EUR

(each one for a different currency; £, $, €)

The ordinal is the order the items appear and MOD is the file to run during certain phases. THe mod on the item runs when you add an item to the cart, when you go to pay, and when the order is paid.
The vendor mod runs when the order is paid (I use it to send email packing lists).

Documentation generally comes around RC stage :)

HTH's

silurius
10-13-2005, 03:31 AM
Lol, trial and error actually won out here, and I'm very late in coming back here for more help!

Now, in the same round of testing, the issue is that PayPal completes the transaction but cannot get back to my store.

It tries to go here: http://www.MYSITE.com/testvb/store.php?do=success&tx=22M516756L437381E&st=Completed&amt=3.00&cc=USD&cm=&sig=cC6drp6mxzxbIRSbghI%2froz8kXFC9SIOKePL0RYNdnf8 FN5VoJ0Wt1KwF0cjdY6hIU4msG1xcK%2fm64TQ4UwKcTCVxwDK ElHY%2bQF2yjKIi4t72%2fRP%2fNYBQmYc0QBOTcr31qyeD%2f fxFj7T2Gen9WUoGWvGfgHFCl8PnTdrlNPDJw8%3d
Not Found
The requested URL /testvb/store.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Even though my Return URL in PayPal Sandbox is actually set to be:
http://www.MYSITE.com/tobe/testvb/store.php
My "PayPal specifics" settings are:

Success URL: store.php?do=success
Cancel URL: store.php?do=success
IPN URL: store.php?do=ipn
(clearly the second needs to be something else, but I think that's unrelated)

So I'm thinking the Success URL may actually need to be "tobe/store.php?do=success" ?

Edit: nope, still get:

http://www.MYSITE.com/testvb/tobe/store.php?do=success&tx=71234030F0404840J&st=Completed&amt=3.00&cc=USD&cm=&sig=ZM2HmbUHAq5mvgwPjKrLS4QBX%2bSPE3RZ%2bVG19aRa6c dhuv2vo9lCibup73RRuAv77%2b6314QumSKJjcD75DjhQTDB6G N0Kpw51nD8oOSQ2pDc1QHG%2f4xqCgXn4vuGliClVIdLTsHgzo pD3OPL8JUd2rkYX5yny7VNH9d5VfN4fa0%3d
Not Found
The requested URL /testvb/tobe/store.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Final edit: specifying the complete url in the success field also failed:

http://www.MYSITE.com/testvb/http://www.MYSITE.com/tobe/testvb/store.php?do=success&tx=4HU40319UH5300133&st=Completed&amt=3.00&cc=USD&cm=&sig=cQTYfSjyXqY23l7J1D3WyE%2bW%2b1aTMmFrrbAoc6LTPR Bi9KO12CrSYhwGoX%2b%2fzyuZ82qhkfY4CfnL0%2bw8pre%2b 4bhJk5T62SJg9ucxGi9YietikriBIt%2bLUf8JlUe9brjq1RAw tVFuLNA0zfrE0MwFHin30ONkQ%2bbA0%2bJLntSeFIQ%3d
Not Found
The requested URL /testvb/http://www.MYSITE.com/tobe/testvb/store.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

The Geek
10-13-2005, 08:17 AM
huh. Can you PM me an admin account to have a look?

Thanks!

The Geek
10-15-2005, 07:35 AM
This actually happened to me. Live it worked, but sandbox it didnt.

Your business paypal account email address needs to be a sandbox account. THat sandbox account needs to be a business account with IPN configured to point to the above location. Then when you test payment, do it with ANOTHER sandbox account (you can set up unlimited and just toggle between them as Im sure you know).

Now doing the above got it to work - however sometimes the IPN process was taking upwards of 3 freaking hours to come through (while the live version was taking moments).