Pay Pal not sending all the purchase info.

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
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Pay Pal not sending all the purchase info.

Post by iMatt »

www.poetrycards.me.uk/pcs.wbs

Hi all. Attempting to use PayPal using the form tools. However, when making a test purchase, my email notification only receives info from the first select control and the edit box. There are three other select controls PP is ignoring. I have sent you a file. The form is on the 'anniversary' page.
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Pay Pal not sending all the purchase info.

Post by Pablo »

You will need to set an "Item name' and and "Item ID" in the PayPal Properties.
Also, the labels may not be correct. Use simply names like 'name', 'trait', 'design' etc.
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

What do I place in 'Item ID'?
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: Pay Pal not sending all the purchase info.

Post by BaconFries »

What do I place in 'Item ID'?
It's self explanatory really. The Item ID should be related to the Item name.
example:
In item_name Golden Anniversary Style1
In item_number GAS1-1001
So for each Anniversary card or what ever style of card you should use a similar input. Note just my two cents or pence worth as it makes it logical for stock of cards and its description.
See the following
https://www.wysiwygwebbuilder.com/paypal_cart.html
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

Still not working, I'm afraid. PP seems to be getting info from the edit box. But not the select boxes.
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Pay Pal not sending all the purchase info.

Post by Pablo »

Did you make all the changes I suggested?

How exactly do you test this?
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

Yes I did make the changes. Although, still not clear what ought to go in the 'Item name' and 'Item ID' fields in regard to my situation. I am publishing the site and still seeing the issue. PP does not seem to be seeing the drop-down select boxes.
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Pay Pal not sending all the purchase info.

Post by Pablo »

Although, still not clear what ought to go in the 'Item name' and 'Item ID' fields in regard to my situation.
The official documentation can be found here:
https://developer.paypal.com/api/nvp-so ... variables/
Look for 'item_name' and 'item_number'
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: Pay Pal not sending all the purchase info.

Post by BaconFries »

PP does not seem to be seeing the drop-down select boxes.
Question? I am not at my PC as out of town so cannot view your .wbs. Can I ask how have you added the dropdown have you just dragged to page and input what you wish to pass to PayPal or is it part of the button? If it is not part of the button and just part of the page then it will never be sent to PayPal. For it to be passed you will need to select "options" then add the dropdown so it becomes part of it.
For more information about options please see the help -> PayPal Buttons -> Options

Note there is a example of a PayPal form in Form Controls->Form Wizard->PayPal - Price Options notice that it uses a Combobox (drop-down) although it is not what you need it does show that it works as you can try it for yourself using PayPal sandbox.
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

Yes, I am selecting the appropriate edit boxes and drop-downs within the PP button dialogue. Interestingly, only the edit box info seems to being processed by PP. I know I have had this working in the past.
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Pay Pal not sending all the purchase info.

Post by Pablo »

Where can I see the changes? Did you update the demo project?
Also, can you please let me know how to test what you see?
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Pay Pal not sending all the purchase info.

Post by Pablo »

There are still issues:
- the PayPal button "item id" is empty
- none of the options have a value. You only set display 'text', but not the value that will be sent to PayPal

Also, I recommend to set a default value for each input field. For example, set the initial state first item to 'selected'
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

What do you mean by: "You only set display 'text', but not the value that will be sent to PayPal"???? I selected each of the edit and dropdown boxes as required. Plus, I still have no idea what I place in ''Item ID'' as pertaining to my situation!
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Pay Pal not sending all the purchase info.

Post by Pablo »

Normally, an "item id" is something like SKU0001, but it can be anything as long as it's not empty.

Image
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

Still not working! I filled out all the fields as instructed.

www.poetrycards.me.uk/pcs.wbs
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Pay Pal not sending all the purchase info.

Post by Pablo »

There is still no item ID.
Also, only one item should be selected.
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

When you say ''only one item should be selected'', do you mean just one item in the list within the drop down box?
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Pay Pal not sending all the purchase info.

Post by Pablo »

I mean only one of the item in the list should have 'selected'. The other ones must be set to 'not selected'.

Also, please describe how you test it.
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

Okay. Will try again, tomorrow.
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

Still not working, I'm afraid. Only the ''name'' editbox is returning info. I am uploading the site as is live.

www.poetrycards.me.uk/pcs.wbs
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Pay Pal not sending all the purchase info.

Post by Pablo »

Did you share the correct file? Because this project does not have any of the suggested changes.
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

Latest revision with all the changes as suggested.
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Pay Pal not sending all the purchase info.

Post by Pablo »

The items in the 'select' objects still do not have a value. The 'value' is what is sent to the server (in this case PayPal).

Also, I have asked you several times, how do you test this? Do you make a real order?

Update: also try to use the 'Add to cart' button instead of 'Buy Now'
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

Yes, I am making actual test purchases. Sorry I forgot to put the value in as I rebuilt everything.
iMatt
 
 
Posts: 103
Joined: Mon Nov 25, 2013 2:03 pm

Re: Pay Pal not sending all the purchase info.

Post by iMatt »

Yay! Seems to be working now. Tested it three times so far and all info is displaying. Thanks a lot, Pablo.
Post Reply