Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in

Le forum de Communauté ne sera plus disponible à partir du 30 Juin 2025. Le Forum de la communauté n’est pas disponible pour les nouveaux messages ou les réponses; les articles précédents restent disponibles pour vérification. Afin de connaître les options d’assistance complètes, rendez-vous sur PayPal.com/HelpCenter

Si vous souhaitez signaler du contenu illégal et contraire au Règlement sur les services numériques de l’Union Européenne (DSA), veuillez cliquer ici.

since ‎Oct-01-2014
ShoresOfNowhere
ShoresOfNowhere
New Community Member
2
Posts
0
Kudos
0
Solutions
Your 3rd PayPal Anniversary
Your PayPal Anniversary
Your 5th PayPal Anniversary
Organized
Ice Breaker
Active
View all
Latest Contributions by ShoresOfNowhere
  • Topics ShoresOfNowhere has Participated In
  • Latest Contributions by ShoresOfNowhere

Re: Using the php merchant SDK, ItemWeight value s...

by ShoresOfNowhere in About Payments (Archive)
‎Oct-01-2014 09:17 AM
‎Oct-01-2014 09:17 AM
(Sorry if i posted in the wrong board, please do move my post in the correct one! 🙂 Sorry!) ... View more

Using the php merchant SDK, ItemWeight value seems...

by ShoresOfNowhere in About Payments (Archive)
‎Oct-01-2014 09:14 AM
‎Oct-01-2014 09:14 AM
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? ... View more
Paypal Logo
  • Help
  • Contact Us
  • Security
  • Fees
  • © 1999-2025 PayPal, Inc. All rights reserved.
  • Privacy
  • Legal
  • Cookies
  • Policy Updates

The money in your balance is eligible for pass-through FDIC insurance.

The PayPal Cash Mastercard is issued by The Bancorp Bank pursuant to a license by Mastercard International Incorporated. The Bancorp Bank; Member FDIC.

Powered by Khoros