Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in
  • Welcome
    • Guidelines
    • News and Events
    • Suggestions for PayPal
    • General Discussions
  • PayPal Help Community
    • Managing Account
    • Transactions
    • Wallet
    • Security and Fraud
    • Products & Services
    • Reporting
  • MTS Community
    • PayPal Upgrade Community
    • PayPal Payments Standard
    • REST APIs
    • NVP/SOAP APIs
    • SDKs
    • Sandbox Environment
    • PayPal Reporting
    • Payflow
    • Ideas for MTS
    • Client-side Integration
    • Server-side Integration
  • The Archives
    • PayPal Help Community Archives
      • Managing Account Archives
      • Transactions Archives
      • Wallet Archives
      • Security and Fraud Archives
      • Products & Services Archives
      • Reporting Archives
    • Help Community
      • PayPal Basics Archives
      • Payments Archives
      • My Money Archives
      • My Account Archives
      • Disputes and Limitations Archives
      • Products and Services Archives
      • PayPal Credit Archives
    • Merchant Community
      • Merchant Products
      • Business Tools Archives
      • Reporting Archives
      • Managing Risk and Fraud Archives
    • Help Archives
      • About Business (Archive)
      • About Payments (Archive)
      • About Settings (Archive)
      • About eBay (Archive)
      • About Protections (Archive)
      • About Products (Archive)
    • Social and Your Voice Archives
      • Off Topic (Archive)
      • My Feedback for PayPal (Archive)
    • About PayPal Archives
      • Watercooler (Archive)
      • Tax Information (Archive)
      • Fees (Archive)
      • eBay and PayPal (Archive)
      • Coupons and promotions (Archive)
    • My Account Archives
      • My account settings (Archive)
      • Account limits and verification (Archive)
      • Account balance (Archive)
      • Bank accounts and credit cards (Archive)
    • Payments Archives
      • Sending money (Archive)
      • Receiving money (Archive)
      • Refunds (Archive)
      • Donations and Fundraising (Archive)
    • Disputes and Security Archives
      • Disputes and claims (Archive)
      • Fraud, phishing and spoof (Archive)
    • My Business Archives
      • Merchant services (Archive)
      • Reporting and tracking (Archive)
      • Shipping (Archive)
    • PayPal Products Archives
      • PayPal Debit Mastercard (Archive)
      • PayPal Extras MasterCard (Archive)
      • PayPal Mobile & Other Services (Archive)
      • Student Accounts (Archive)
      • Bill Me Later (Archive)
    • Getting to know PayPal
      • My PayPal account
      • Security and protection
    • Receiving and sending money
      • Buying with PayPal
      • Selling with PayPal
    • PayPal Here UK
      • PayPal Here News and Events
      • PayPal Here Community
      • Chip and Pin Card Reader
      • PayPal Here App

The Community Forum will no longer be available starting June 30, 2025. Please note that the forum is now closed for new posts and responses, but previous posts will remain accessible for review until June, 30 2025. For comprehensive support options, please visit PayPal.com/HelpCenter
Merchant Technical Support: For technical support and related questions, please visit our Technical Support Help Center or Developer Central

If you want to report illegal content under the EU Digital Services Act, please do so here

since ‎Jul-26-2019
Country: Italy
Type: Business
nick_developer
nick_developer Contributor
Contributor
4
Posts
0
Kudos
0
Solutions
Your PayPal Anniversary
Ice Breaker
The Return
Active
View all
Topics nick_developer has Participated In
  • Topics nick_developer has Participated In
  • Latest Contributions by nick_developer

Best practice for payments between users

by nick_developer Contributor in SDKs
‎Dec-09-2020 07:12 AM
‎Dec-09-2020 07:12 AM
Hi, I'm designing a system where users can sell items. I'd like to manage payments in that way   1. user A has his own objects on the system (and user A have a regular PayPal account) 2. user B buy a item from user A  3. The selling process managed by PayPal should transfer money from user B to user A.    Users must be able to set link their Paypal account in their profile to sell items.  What's the best practice to implement this model ?  -  Have I to ask and use the PayPaluserID to users that want to sell things (maybe set this data on their profile)?  -  Do I have to use the Adaptive Payments (but seems only for some authorized applications)   thanks, best regards  nick ... View more
Labels:
  • Labels:
  • REST SDK

onApprove data.paymentID is undefined

by nick_developer Contributor in REST APIs
‎Sep-24-2019 09:51 AM
‎Sep-24-2019 09:51 AM
  Hi,  I'm building a client approve then a server side order capture.     After calling onApprove in client, I get the data.orderID and data.payerID from PayPal response, but the data.paymentID is undefined.  On older API I was using payerID and paymentID after onAuthorize (now it's onApprove,right?)    So how can I capture the order on server side if I have no paymentID ?  On the new API to capture an order on server side is needed only the data.oderID received from Paypal Response ?   thanks    ... View more

Smart Payment Buttons give error but transaction i...

by nick_developer Contributor in REST APIs
‎Sep-24-2019 05:25 AM
‎Sep-24-2019 05:25 AM
  Hi, I've integrated the Smart Payment Buttons in my website. All the payment procedure goes ok, but sometimes it gives an Error while the transaction is processed correctly by PayPal.     the /paypal_transaction_check/ function get the response and make a check if  $data['data']['status'] from the PayPal response si "COMPLETED".   Sometimes the page goes in /checkout/payment_error  but the transaction si successful passing "COMPLETED" in the response.    It happens also on live environments and only on some cases    Can be a Timeout error ?    here is the client code    paypal.Buttons({     style: {     layout:  'vertical',     color:   'gold',     shape:   'rect',     label:   'pay',     tagline: false   },     createOrder: function(data, actions) {       // Set up the transaction       return actions.order.create({         application_context:{           brand_name: 'Test Store',           locale:'it-IT',           shipping_preference:'NO_SHIPPING',           user_action:'PAY_NOW'           },           intent: "CAPTURE",         purchase_units: [{           reference_id: '<?= $order_reference_id ?>',           description: 'Cool item',           custom_id:'<?= $order_reference_id ?>',           amount: {             currency_code: 'EUR',             value: '99.00'           }         }],       });     },     onApprove: function(data, actions) {       // Capture the funds from the transaction       $('#paypal-button-container').hide();       $('#payment-wait').show();            return actions.order.capture().then(function(details) {                  fetch('/paypal_transaction_check/', {           method: 'post',           headers: {             'content-type': 'application/json'           },           body: JSON.stringify({             data: details,             order_id: '100100100'           })         }).then(response => {                      if(response.status == 200) {                 window.location.href = "/checkout/paypal_success/<?= $order_reference_id ?>";           } else {                 window.location.href = "/checkout/payment_error";           }         });                      });     },     onCancel: function (data) {     // Show a cancel page, or return to cart       window.location.href = "/checkout/payment";     },     onError: function (err) {       window.location.href = "/checkout/payment_error";   }   }).render('#paypal-button-container');       ... View more

Avoid asking for Phone number during credit card c...

by nick_developer Contributor in REST APIs
‎Jul-26-2019 07:31 AM
‎Jul-26-2019 07:31 AM
  hi, I'm wondering if it's possible do not asking for user phone number during the credit card payment checkout.  some users don't like to share their phone number so ...   I searched on the API actions.order.create  application_context   parameters but I haven't found anything to force not asking the phone number.   thanks for help   ... View more
Labels:
  • Labels:
  • Payments REST APIs
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
Welcome to the PayPal Community!