i'm using NVP API and calling SetExpressCheckout, sending SHIPTOCOUNTRYCODE with the value US or any other country code and still when payment page appears the country is Great Britain....
why is this happening?? please help me
I believe you are using an old API version because
SHIPTOCOUNTRY is deprecated (since version 63). You should use PAYMENTREQUEST_n_SHIPTOCOUNTRYCODE instead.
More information here: https://developer.paypal.com/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/
Related
PayPal retuning me the success array but the payment not getting ** processed** please help me.
enter image description here
Why are you using the classic express checkout API? That is almost 20 years old. You should be using the v2/checkout/orders API, with the Checkout-PHP-SDK or similar. See the information and links for a server integration within Set up standard payments.
The problem with your "payment not getting processed" is that no payment has been executed or captured. After payer approval, it is required to execute a DoExpressCheckoutPayment API call (classic API) -- or similarly with the current API, an orders capture API call.
I am using the PHP SDK, other API calls, like getting payment information work so the configuration is correct.
What I am trying to do is starting from a payment ID to find the billing agreement, check the agreement details and in some cases attempt to update it.
From the documentation I see only the billing agreement ID is the requiered parameter https://developer.paypal.com/docs/api/payments.billing-agreements/v1/#billing-agreements_get
so I do not understand what profile is this error mentioning, is the payment/transaction/payer missing some profile or other profile ?
That PHP SDK is deprecated and does not support the current version of PayPal Subscriptions, documented here.
There is no supported SDK for it; use a direct HTTPS integration for any server-side API calls.
I know before 2017, the PayPal provides the Api which I can get all the transaction history via Rest API .
that is TransactionSearch using NVP.
but PayPal says it has been deprecated.
so I want to know ,how can I get transaction history via PayPal API.
Looking forward your help.
Although PayPal deprecated the classic API, you can also use all of the classic APIs(containing TransactionSearch API), PayPal just will not renew or develop new feature. But all of current functions can be used.
And if you want to use transaction search function under REST API, please refer following URL.
https://developer.paypal.com/docs/integration/direct/payments/paypal-payments/?mark=list%20payment#search-payment-details
Please refer "List payments with transaction details" section.
API document: https://developer.paypal.com/docs/api/payments/#payment_list
i m new to paypal integration can any one please help me with how i can find which request method is used for paypal itegration.
when i click on pay button following calles made :
logtimeout(GET)
auth?(GET)
setbuyer(POST)
p1(POST)
p2(POST)
So, i m confuse which method is actually making call to paypal for payment.
Paypal is Discontinuing GET method so i want to chang GET to POST
Thanks in advance ...
If you are using the PayPal Express omnipay gateway (PayPal_Express) then all of the calls in that gateway are POST calls. There are no GET calls in use, they were all converted to POST calls some time ago when PayPal announced that they were deprecating the use of GET calls.
In general I would advise use of the PayPal_REST gateway rather than PayPal_Express, the calls are more up to date and the documentation is better. You can go into your developer site for PayPal and obtain API keys for REST which you can use alongside your Express keys while you change over.
I wonder if anyone can help me with this problem. I receive this error from my iOS SDK, for 2 attempted requests:
2015-01-22 16:14:32.238 Page Advisor Consumer[6442:607] PayPal SDK: Request has failed with error: UNKNOWN_ERROR - System error (UNKNOWN_ERROR). Please try again later. (400) | PayPal Debug-ID: be3d18e185478 [live, PayPal iOS SDK 2.8.2]
2015-01-22 16:15:06.557 Page Advisor Consumer[6442:607] PayPal SDK: Request has failed with error: UNKNOWN_ERROR - System error (UNKNOWN_ERROR). Please try again later. (400) | PayPal Debug-ID: 52795d8d95006 [live, PayPal iOS SDK 2.8.2]
I wonder what cause this error. Because when I use direct payment REST API there seems to be no problem at all. I already use US Account. Please tell me if i need to provide anymore details. Thank you guys!
UPDATE::!!
I have done further testing, turns out that Mobile SDK somehow cannot create transaction in SGD if connected to a US account, while REST API allows it. Turns out the SDK needs Singapore Account in order to proceed.
The problem is Singapore Account cannot use the newest SDK. Any solution for this? I really desperately need the newest SDK to work with SGD, because the current REST API allows it.
Thanks
I looked up the debug IDs you provided (both Live and Sandbox) and they were all failing for the same reason: unsupported currency for direct credit card transactions.
SGD is not a supported currency for Direct Credit cards with the REST APIs. A list of supported direct credit card currencies can be found here. SGD is a supported currency for PayPal payments with the REST APIs. Since the mSDK sits on top of the REST APIs, the supported currency list for REST and mSDK are one and the same.
As for the error message itself, I will put in a request with the appropriate folks to see if we can display something a bit more informative.