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 ‎Jan-23-2023
Country: Germany
Type: Personal
aktiweb
aktiweb Contributor
Contributor
2
Posts
0
Kudos
0
Solutions
New Look
Your PayPal Anniversary
The Return
Active
View all
Topics aktiweb has Participated In
  • Topics aktiweb has Participated In
  • Latest Contributions by aktiweb

Re: Get subscription_id from payment

by Moderator vaishnavib in REST APIs
‎Mar-01-2024 02:05 AM
‎Mar-01-2024 02:05 AM
Good day @aktiweb,    Thank you for posting to the PayPal community.   The "PAYMENT.SALE.COMPLETED" webhook is triggered whenever a payment is successfully made on a subscription. To make a payment on a subscription, you need to pass the subscription ID in the path parameters of the " Capture authorized payment on subscription" API call.   After making the API call, you will receive a response with a status code of 202. It is important to note that this response does not include any JSON data to indicate the status of the payment. If you would like to learn more about the meaning of a 202 status code, please refer to the following code URL: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202.   If you are still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detailed information and error details.   Sincerely, Vaishnavi PayPal MTS   If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution. ... View more

Buy Now Button: API returns GET request instead of...

by aktiweb Contributor in Sandbox Environment
‎Jan-23-2023 05:34 AM
‎Jan-23-2023 05:34 AM
Hi,   our application uses Standard Payment to sell services. To process the payment a POST request to **removed** will be fired. This request contains all importand informations and <input type="hidden" name="rm" value="2"> The value of "2" forces the API to send back the customer to our application via POST request (**removed**).   This works perfect in PayPal sandbox. PayPal live API works mostly, but sometimes after a paymant was completed the customer will be send back to our application by a GET request. And here we get a problem because some important data was not part of this GET request so we are unable to give the customer acces to the paid service.   The form we send to PayPal: <form id="paypal" action="**removed**" method="post" target="_top"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="THEBUSINESSID"> <input type="hidden" name="lc" value="DE"> <input type="hidden" name="item_name" value="Service name"> <input type="hidden" name="item_title" value="Service name"> <input type="hidden" name="item_number" value="123456"> <input type="hidden" name="amount" value="999.99"> <input type="hidden" name="quantity" value="1"> <input type="hidden" name="display" value="1"> <input type="hidden" name="currency_code" value="EUR"> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="no_shipping" value="1"> <input type="hidden" name="custom" value="someCustomDataWeNeedTogetBack"> <input type="hidden" name="rm" value="2"> <input type="hidden" name="return" value="**removed**> <input type="hidden" name="cancel_return" value="**removed**"> </form>   The sometimes received GET request: **removed**   We don't understand what goes wrong here and need help to solve this strange problem. ... 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