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 ‎Mar-30-2021
dman271828
dman271828 Contributor
Contributor
2
Posts
0
Kudos
0
Solutions
Your PayPal Anniversary
Ice Breaker
The Return
View all
Latest Contributions by dman271828
  • Topics dman271828 has Participated In
  • Latest Contributions by dman271828

Re: PayPal Smart Buttons - Authorizing a Payment -...

by dman271828 Contributor in REST APIs
‎Apr-09-2021 02:02 PM
‎Apr-09-2021 02:02 PM
I also had to use the "is_final_capture": true for the pending payment to go to payment on the Sandbox buyers Paypal account summary.    $data = '{ "intent": "CAPTURE", "purchase_units": [ { "amount": { "currency_code": "USD", "value": "5.54" } } ], "is_final_capture": true }'; ... View more

Re: PayPal Smart Buttons - Authorizing a Payment -...

by dman271828 Contributor in REST APIs
‎Apr-09-2021 01:45 PM
‎Apr-09-2021 01:45 PM
I found a solution to the capture after the authorization of payment by adding the "intent": "CAPTURE" to the cURL data.  This instruction json line was missing from the sample code posted on Paypal. (https://developer.paypal.com/docs/integration/direct/payments/authorize-and-capture-payments/)   $data = '{ "intent": "CAPTURE", "purchase_units": [ { "amount": { "currency_code": "USD", "value": "4.54" } } ] }'; ... 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