Using the php merchant SDK, ItemWeight value seems to be ignored by PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I'm integrating Express Checkout in my web site, and I've successfully managed to get all the process right, so transactions are working ok.
What happens is that since the goods the site is selling are sold not only by pieces but also by weight (something like 2.34 Kgs of fresh meat) , I've made it so that the item quantity gets set to 1 and the item price gets adjusted to the correct amount for the weight requested:
1.2 Kgs of meat at 20 euros/Kg, I turn this into 1 piece of meat at 24 euros/piece.
,since it seemed that PP would not accept floating point quantities.
Nonetheless, it would be nice to show the weight of the item in the PP Checkout page, so I used :
$thiswgt=new MeasureType("Kg",number_format($weightinkg,2,".",","));
$itemDetails->ItemWeight= $thiswgt;
To pass the weight to PP, but it gets ignored...
Anyone can help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
(Sorry if i posted in the wrong board, please do move my post in the correct one! 🙂 Sorry!)
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Paypal address in About Payments (Archive)
- Merchant sending me an Invoice. in About Payments (Archive)
- Paypal Merchant purchase no reciept and not showing up on my account in About Payments (Archive)
- PayPal Debit Card unreliable method of payment! in About Payments (Archive)
- Account Limited in About Protections (Archive)