Questions tagged [paypal]

For questions about the PayPal API used by software developers to process payments, manage invoices, monitor accounts, etc. (For user-level support, contact PayPal directly using their site.)

PayPal is a commerce business allowing payments and money transfers to be made through the internet, mobile and point of sales.

PayPal has a large set of APIs currently available to the public, a full list of which is available at the Classic API References and Rest API References

PayPal provides Open-Source SDKs that can be used to make calls to both Classic and REST APIs. The SDKs for REST APIs are actively developed, and maintained in github repositories

Further developer resources are available at PayPal Developer as well as a full overview of all PayPal API error codes at API Errors

PayPal technical support for PayPal APIs (as well as Website Payments Standard) is available via PayPal Technical Services at https://www.paypal-techsupport.com

Ask questions if you are a software developer only. If you are a PayPal user, contact Paypal using their customer support.

Some Useful Links:

20989 questions
3
votes
1 answer

Resolved: PayPal Adaptive Payments Authentication failed

I have registered on PayPal Sandbox, then I added Seller Preconfigured test account. As for ApplicationId, I used few ones found on Web. Finally, triggering Preapproval, I'm having error in response: Array ( [RESPONSEENVELOPE.TIMESTAMP] =>…
Roman Newaza
  • 11,405
  • 11
  • 58
  • 89
3
votes
1 answer

Paypal Returns Auth and nothing else as return data for a Subscription

I am trying to set up a subscription payment for Paypal on .net. I am testing with the sandbox. When I submit the form to paypal and make the payment in the sandbox and then click on Return to Merchant, I get an auth variable containing some…
Cyril Gupta
  • 13,505
  • 11
  • 64
  • 87
3
votes
2 answers

mysql php script: add credits after paypal process

I am creating a site where user could buy credits through Paypal gateway and then he could download images. I have a confusion, I add credits in to MySQL db table while he select desired Buy Credit Package (before checkout) but I want to add them…
PHP Ferrari
  • 15,754
  • 27
  • 83
  • 149
3
votes
0 answers

Do I have to create a customer billing agreement before I create a recurring payments profile(Paypal Integration)?

I am creating a social media pay site and need to create a recurring billing profile for each person that registers for the site. I downloaded the soap API, as I would like to make the transactions seamless to the user and not display any paypal…
user927777
  • 71
  • 2
  • 5
3
votes
1 answer

Paypal express checkout going live using NVP - "Security header is not valid"

I integrated the Paypal express checkout into our eCommerce system (NVP version 76.0, PHP 5.2) that has a bespoke checkout process. While in development mode (using the sandbox details) everything works but the moment I switch the signature…
Alex
  • 1,630
  • 1
  • 20
  • 31
3
votes
0 answers

Paypal API TransactionSearch NVP - Success but no result

I am editing a web site of an Ultimate Frisbee organisation I'm part of that needs to validate a membership payment when the user tries to sign in. To do so, I am using a PHP Paypal API (the NVP version, not the SOAP one) that sends a request…
Raphael Royer-Rivard
  • 2,252
  • 1
  • 30
  • 53
3
votes
2 answers

Is it possible to charge users using PayPal API without redirecting them to a checkout page?

Post Question Edit: I found out that it is possible by using the Preapproval API + Pay API. Question: My goal is to have a "one click checkout" experience in a mobile app. Is it possible to use PayPal API to charge a customer directly from the…
Israel Zalmanov
  • 781
  • 7
  • 13
3
votes
1 answer

Paypal preapprovals

How to make the secondary payment method , i.e. credit card payments, mandatory in the preapproval api of paypal in php ? I have studied the api docs but have found nothing related
Hammad Khalid
  • 538
  • 3
  • 7
  • 21
3
votes
2 answers

How do you cancel a PayPal subscription through their api?

On this page: Handling Recurring Payments It says that it's possible to cancel a PayPal subscription using their API. Knowing the SubscriptionId can anyone give me some code example how to do this? At the moment I do it manually which is a pain (I…
Anthony
  • 7,210
  • 13
  • 60
  • 70
3
votes
1 answer

Split payments with PayPal

I am setting up an online store where listing an item is free. The buyer can pay only through paypal. When buyer purchases an item for $100 then I want to charge the seller 5% fee. I have seller's paypal email address. Is it possible for me to…
Nick Vanderbilt
  • 2,475
  • 3
  • 27
  • 33
3
votes
1 answer

PayPal Express Checkout returns - Security header is not valid

This has probably been asked a thousand times... But i'm sure i have all the endpoints and credentials right. It was working yesterday. Security error: Error no: 10002 Error message: Security header is not valid Right now i'm testing against…
robert
  • 1,523
  • 5
  • 19
  • 27
3
votes
2 answers

How to make paypal button fields 'Required'?

i have created a pay now button using paypal button generator. The button has 2 fields, and then you press pay now. However, if you leave these fields empty, you can still pay I want to make these fields "required", if a user didn't fill these…
Lynob
  • 5,059
  • 15
  • 64
  • 114
3
votes
1 answer

Is there a way to do confirmation of payment after explicit approval in adaptive payments

I'm implementing a simple adaptive payment in the embedded flow with an explicit approval. What suprises me is that when performing the explicit approval, that is, when the user logs in, it gets only the form with pay button. When clicking on pay,…
Master Slave
  • 27,771
  • 4
  • 57
  • 55
3
votes
1 answer

Unique transaction reference in Paypal NVP Masspay response

I need some unique field in Paypal NVP Masspayment so that I can refer that transaction instantly and gather all informations like transaction fee etc. Please help . At the moment it seems that paypal doesnt return any field to search a specific…
Manish Mudgal
  • 1,166
  • 1
  • 9
  • 24
3
votes
2 answers

PHP - Paypal API form and security

I'm using the standard php paypal form for payments on my e-commerce app. I noticed that people with just firebug can change the paypal form data before sending the request for paying by the "PAY NOW" button. So I'm wondering, is it a "standard" to…
itsme
  • 48,972
  • 96
  • 224
  • 345