Questions tagged [nvp]

Name-Value Pairs(NVP) is a PayPal Classic API syntax that uses a query-string to pass data

Name-Value Pairs(NVP) is part of the PayPal Classic API system. It was introduced as a simpler alternative to using to make API calls. NVP works exactly like a query string (raw POST operations also function like query strings). A sample NVP (minus the necessary authentication data) looks like this

METHOD=GetTransactionDetails&VERSION=109.0&TRANSACTIONID=ABC123

Responses are made in kind.

85 questions
2
votes
1 answer

Is there a native way to parse key/value pairs into an array?

I have a string that is the contents of a webpage in this format : value=foo&value1=bar&value2=foobar What I would like to know is, is there a built-in way to convert this into an object/list of object/whatever so that I can loop through or…
Kraang Prime
  • 9,981
  • 10
  • 58
  • 124
2
votes
0 answers

Paypal, Masspay: 10321 - Insufficient funds

I'd like to use Masspay method from Paypal API. I have an account for business in sandbox with balance more than I need to pay. So, I tried to make a cURL request for masspay, like this (just for test): $url =…
Aleksei Golubev
  • 342
  • 3
  • 11
1
vote
3 answers

Paypal Checkout Express empty cart problem

I'm working on Paypal integration in my website, following Paypal's API specifications. I'm testing it in a sandbox, and after sending a SetExpressCheckout request like…
Dmitri Sologoubenko
  • 2,909
  • 1
  • 23
  • 27
1
vote
0 answers

Porting from NVP to REST API

I am currently using PayPal's NVP API. And using the below methods. TransactionSearch (To pull in historic and recent transactions) GetTransactionDetails (To fetch detail for each transaction) TransactionSearch using PROFILEID (To get…
Anish Nair
  • 3,238
  • 29
  • 41
1
vote
1 answer

PayPal Payflow Recurring Billing: re-activating a profile

I would like to re-activate a PayPal recurring billing profile that was cancelled (for reasons that are now moot). The account status is now: STATUS = DEACTIVATED BY MERCHANT I can't find what I need online. I have found a lot of reassurances about…
Parapluie
  • 714
  • 1
  • 7
  • 22
1
vote
1 answer

PayPal NVP/SOAP API TransactionSearchReq Call

I am currently trying to implement a class in Java that lists all PayPal transactions of a specific time frame. I am using the NVP/SOAP API Merchant SDK (https://github.com/paypal/merchant-sdk-java) as this seems to be the only possibility to list…
Chris
  • 1,316
  • 2
  • 13
  • 20
1
vote
1 answer

PayPal NVP API TransactionSearch with combined filters

Is it possible to apply multiple filters in a TransactionSearch request, for example in the "STATUS" option in order to retrieve both "Success" and "Reversed" transactions in a single request?
John
  • 588
  • 1
  • 6
  • 22
1
vote
0 answers

Update PayPal transactions INVNUM field

Is it possible to update the transactions INVNUM (Your own invoice or tracking number) field at a later state using the NVP-API? I want to "update" my PayPal transactions with the final invoice numbers, so I can use the PayPal backend to get a list…
Peter Grundmann
  • 115
  • 1
  • 10
1
vote
1 answer

Converting command line cURL request to PHP cURL request (PayPal API)

Here's PayPal's example of the command line cURL request to their Permissions API: curl https://svcs.sandbox.paypal.com/Permissions/GetAccessToken \ -s \ --insecure \ -H "X-PAYPAL-SECURITY-USERID: api_username" \ -H "X-PAYPAL-SECURITY-PASSWORD:…
clat23
  • 11
  • 3
1
vote
0 answers

Valid example for C# TransactionSearch method PayPal API

I've been trying to find a valid and good example on how to use the PayPal's TransactionSearch method which returns the history of all transactions for the specified time range.. I've stumbled upon this example: AccountType accountType =…
User987
  • 3,663
  • 15
  • 54
  • 115
1
vote
3 answers

PayPal Express Landing Page and SolutionType having no effect

I am using the PayPal Express NVP checkout process and my customer has a requirement for the following: The user is initially presented with the login screen and not the billing page The user should not be able to checkout anonymously by credit…
John Royal
  • 371
  • 4
  • 13
1
vote
1 answer

PayPal NVP PHP API $ACK="FAILURE"

Using PayPal NVP PHP API. When a payment is submitted $ACK response equals "FAILURE" with the long message "THIS TRANSACTION CANNOT BE PROCESSED. PLEASE ENTER A VALID CREDIT CARD NUMBER AND TYPE.".... however the payment does go through. I end up…
1
vote
1 answer

Getting the Shipping Address from Paypal NVP Request

I want to retrieve the confirmed shipping address paypal has when a user pays through NVP. Is there a way to do this? or do I always have to ask for their address ahead of time when processing the payment through the express-checkout?
Petrogad
  • 4,405
  • 5
  • 38
  • 77
1
vote
1 answer

Is it possible to personalize Paypal transaction description?

I'm here to ask if is possible, and then how, to personalize the Paypal transaction description, for instance the one that the seller can see in the notification e-mail and in the transaction details on his Paypal account page. Here a link to a…
maestroosram
  • 196
  • 12
1
vote
1 answer

PayPal NVP API Error 10413 - The totals of the cart item amounts do not match order amounts

I'm having a problem using the classic PayPal NVP API. It's complaining about how the totals don't match up and I really can't spot why that is. The NVP name-value pairs which are sent to Paypal array(19) { ["METHOD"]=> string(18)…
Tom Busby
  • 1,319
  • 2
  • 12
  • 25