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 ‎Mar-15-2016
jeffersoncoin
jeffersoncoin
New Community Member
1
Post
0
Kudos
0
Solutions
Your 3rd PayPal Anniversary
Your PayPal Anniversary
Organized
Active
View all
Topics jeffersoncoin has Participated In
  • Topics jeffersoncoin has Participated In
  • Latest Contributions by jeffersoncoin

BMUpdateButton api kills inventory data

by jeffersoncoin in About Settings (Archive)
‎Mar-15-2016 02:00 PM
‎Mar-15-2016 02:00 PM
When I update a hosted paypal button's price via the BMUpdateButton api the inventory data is destroyed. I believe this is due to BMUpdateButton killing the optional item ID data, which is not optional when it comes to tracking inventory.   I'm unable to find an Item ID field in the BMUpdateButton api docs https://developer.paypal.com/docs/classic/api/button-manager/BMUpdateButton_API_Operation_NVP/ so as to preserve my hosted buttions item ID while performing a price update via this api call.   So am I supposed to do the following? 1) BMGetInventory get my hosted buttons inventory and put it in a variable 2) BMUpdateButton update my hosted buttons price while destroying my buttons inventory data 3) BMSetInventory restore my hosted buttons inventory data   I'd much rather just call BMUpdateButton without destroying my hosted buttons inventory data in the first place.   Here's the BMUpdateButton call that I'm making via cURL:   curl https://api-3t.paypal.com/nvp \ -s \ --insecure \ -d USER=itsme.com \ -d PWD=111111 \ -d SIGNATURE=john hancock \ -d VERSION=124.0 \ -d METHOD=BMUpdateButton \ -d HOSTEDBUTTONID=someid \ -d BUTTONTYPE=CART \ -d BUTTONSUBTYPE=PRODUCTS \ -d L_BUTTONVAR0=item_name=my+product1 \ -d L_BUTTONVAR1=amount=100.00 ... 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