paypal

Paypal Rest API : Getting Fraud Protection

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 05:33:10
问题 Does the Paypal REST API have any sort of Fraud Protection? I've run trial transactions in Production mode all day trying to get the REST API calls to detect and refuse a charge when the Security Code is wrong, Address mismatched -- but it charges them all regardless of my fraud filter settings. This is really risky behavior for a production environment. 回答1: The primary benefit to using the rest api is to take advantage of its vault. Prior to storing a card, you could authorize it, get the

Date format when creating invoice

▼魔方 西西 提交于 2019-12-24 05:16:13
问题 When I try to create invoice using REST API I get validation error like: "details":[{"field":"items.date","issue":"only date field allowed with (yyyy-MM-dd z) format. (was 2014-12-27T17:01:00Z) I tried with 2014-12-27T17:01:00Z, 2014-12-27Z, and number of others, but I get always the same error. What kind of format should date be? Can you give me an example? 回答1: Went through same and the only "format" that worked for me is 2014-12-27 PST where the "z" is a time zone. - e.g. PST PDT GMT This

Paypal API falls over when pointing to my certificate file

本秂侑毒 提交于 2019-12-24 04:51:28
问题 I am trying to DoCapture some payments using the Paypal API and I am getting a Fatal Exception on the line of code where I set the CertificateFile property to the location of my certificate file. The relevant code is below: using com.paypal.sdk.profiles; using com.paypal.sdk.services; using com.paypal.sdk.util; IAPIProfile profile = ProfileFactory.createSignatureAPIProfile(); profile.CertificateFile = @"~\MyTestCertificate.txt"; Drilling down into the Exceptions details doesn't give me much

Paypal API falls over when pointing to my certificate file

情到浓时终转凉″ 提交于 2019-12-24 04:51:08
问题 I am trying to DoCapture some payments using the Paypal API and I am getting a Fatal Exception on the line of code where I set the CertificateFile property to the location of my certificate file. The relevant code is below: using com.paypal.sdk.profiles; using com.paypal.sdk.services; using com.paypal.sdk.util; IAPIProfile profile = ProfileFactory.createSignatureAPIProfile(); profile.CertificateFile = @"~\MyTestCertificate.txt"; Drilling down into the Exceptions details doesn't give me much

Laravel 5.1 csrftoken curl from paypal

夙愿已清 提交于 2019-12-24 04:25:07
问题 How i Can add or somethink do with csrftoken when paypal send post on my website. My error code: TokenMismatchException in VerifyCsrfToken.php line 53. Here code: public function getPaypal(Request $request) { $uri = $request->all(); if(isset($uri['tx'])) { $pp_hostname = "www.sandbox.paypal.com"; // Change to www.sandbox.paypal.com to test against sandbox // read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-synch'; $tx_token = $uri['tx']; $auth_token = "EHNebv....e"; $req .=

Payouts errors on Sandbox

一曲冷凌霜 提交于 2019-12-24 03:53:51
问题 I am trying to create Payout functionality using REST API, and I have few errors. While I am sending this request : {"sender_batch_header":{"sender_batch_id":"test_0","email_subject":"RaceBets Withdrawal","recipient_type":"PAYPAL_ID"},"items":[{"recipient_type":"PAYPAL_ID","amount":{"currency":"EUR","value":"20.0"},"receiver":"XXXX","note":"Hello there!","sender_item_id":"71292226"}]} I received: JAXBException occurred : 4 counts of IllegalAnnotationExceptions. or : {"name":"REQUIRED_SCOPE

Get transaction id from paypal sdk 2.0.1

放肆的年华 提交于 2019-12-24 03:36:09
问题 How to get Transaction id from paypal sdk 2.0.1, i searched a lot but i am stuck at getting transaction id from paypal sdk 2.0.1. check response below;- { client = { environment = sandbox; "paypal_sdk_version" = "2.0.1"; platform = iOS; "product_name" = "PayPal iOS SDK"; }; response = { "create_time" = "2014-04-01T07:02:34Z"; id = "PAY-3J588144TJ947892HKM5GJCQ"; intent = sale; state = approved; }; "response_type" = payment; } Above code i got pay id but not getting transaction id, how can i

Android Paypal Integration: Sandbox to Production

戏子无情 提交于 2019-12-24 03:23:27
问题 I've tested my android app successfully using Paypal Sandbox environment. I am about to release my app, so want to change the paypal configuration to 'PRODUCTION' To do this, I've changed the following for production: private static final String CONFIG_ENVIRONMENT = PaymentActivity.ENVIRONMENT_PRODUCTION; private static final String CONFIG_CLIENT_ID = "my client id for production"; private static final String CONFIG_RECEIVER_EMAIL = "live-id@gmail.com"; Now when I try to make a payment using

Laravel 5 catching 400 response from PayPal API

寵の児 提交于 2019-12-24 02:23:33
问题 I asked a very specific question located here: Laravel 5 catching PayPal PHP API 400 errors on localhost:8000 As nobody could help I want to make it a more open question about catching a 400 error from the PayPal API. I am making requests to PayPal, when a successful request is made everything works perfectly and I get a lovely response object, which I can work with and action accordingly. When for instance incorrect card details are entered Laravel throws a 400 error and fails to catch the

Use paypal with java

萝らか妹 提交于 2019-12-24 02:08:12
问题 I want to use paypal as a payment process in my application. At paypal they have shown many ways as using REST API, classic api, and also using SOAP API. I am trying to use SOAP client by following way. 1.I am trying to create a SOAP web service client using paypal's provided wsdl file. But it's giving me error while creating client as ' unable to retieve that url',though it creates client files. 2.Created object for proxyClass, as proxy class contains all required methods like getAuthDetails