Skip to main content

PayPal Community

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

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 ‎Nov-07-2022
Country: United States
Type: Business
apfaaron
apfaaron
New Community Member
1
Post
0
Kudos
0
Solutions
Active
Ice Breaker
View all
Topics apfaaron has Participated In
  • Topics apfaaron has Participated In
  • Latest Contributions by apfaaron

Error "only single currency unit allowed per invoi...

by apfaaron in PayPal Payments Standard
‎Nov-07-2022 03:50 PM
‎Nov-07-2022 03:50 PM
(This editor seems to think I've put my phone number in the JSON code I've pasted below. I didn't, but the otherwise blank spot was automatically replaced by this site)   Thanks in advance for any efforts to find this (almost certainly) small error of mine:   I've successfully set all of the parameters to create an invoice with one exception: Minimum amount due. The errors:   "field":"","issue":"only single currency unit allowed per invoice." "field":"minimum_amount_due.currency_code","issue":"cannot be null or, empty."   Without the minimum amount due section, my code works great. Partial payments are accepted, as is tipping. but I want the minimum payment to be $5, and cannot get this to work using the API.   Here's what the code looks like (with personal information redacted with xxx):    JSON: {        "number":"INV0708",    "allow_tip":"true",     "merchant_info":{        "email":"xxx",        "first_name":"Donut",        "last_name":"Basil",        "business_name":"Donut Basil Magic"    },    "billing_info":[       {[Removed. Phone #s not permitted]="Apple-converted-space">          "last_name":"Last70",          "email":"xxx"       }    ],     "allow_partial_payment":"true",  "minimum_amount_due": {         "currency_code": "US",         "value": "5.00"       },    "items":[      {          "name":"Item 26",          "quantity":1,          "unit_price":{             "currency":"USD",             "value":"600"          }       }],          "shipping_info":{       "first_name":"shipfirst32",       "last_name":"shipLast19",       "address":{          "line1":"",          "city":"",          "state":"TX",          "postal_code":"",          "country_code":"US"       }    } } ... 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