paypal-rest-sdk

Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment

北城余情 提交于 2019-12-06 08:10:32
I am using PayPal rest sdk/api and charging to my customers but then i am calling charge section multiple time in loop then at first time my customer's account is debited but other customer's account is not debited when i tried to debug i found this error "Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment " As when loop calls first time the Rest sdk/api charge function then it get success but the it showing error when loop runs further. Please let me know if you want any other information from my side. You'll have better luck debugging your issue if

PayPal Plus Sandbox - Pay upon Invoice

风格不统一 提交于 2019-12-06 06:48:58
I'm integrating PayPal Plus, successfully on my site, except "Pay upon Invoice". Here's my JavaScript code for integrating the payment wall: <script src="https://www.paypalobjects.com/webstatic/ppplus/ppplus.min.js" type="text/javascript"></script> <script type="application/javascript"> var ppp = PAYPAL.apps.PPP({ "approvalUrl": "<?= $createPaymentArr['links'][1]['href']; ?>", "placeholder": "ppplus", "language": "de_DE", "mode": "sandbox", "showPuiOnSandbox": "true", "country": "DE" }); </script> When I try to use "Pay upon Invoice" I get this error message: "Unfortunately we can not process

Paypal c# REST API asks for an undocumented configuration section

社会主义新天地 提交于 2019-12-06 04:18:39
问题 I'm hacking hard at Battle Hack London and I've stumbled in an annoying problem. The PayPal SDK for c# doesn't seem to work quite right. I'm trying to do my first transaction and here's my code (which I put together fixing the broken online docs: var tokenCredential = new OAuthTokenCredential(something, someother); var accessToken = tokenCredential.GetAccessToken(); Payment createdPayment = new Payment { intent = "sale", transactions = new List<Transaction> { new Transaction { amount = new

PP REST API charge tax and shipping without sending address?

落花浮王杯 提交于 2019-12-05 18:19:49
Using the REST API, how can I charge tax or shipping if I send the user to PayPal to collect shipping information (and pay, of course)? Doing some research it almost seems like that isn't possible, but I can't imagine that being the case. If I have to collect shipping information myself, the value prop for using PP is greatly reduced. With the REST API, just like the Classic API, a PayPal payment is executed in three steps: 1) Send initial information to PayPal to get a token. Redirect customer to PayPal. Customer authorizes payment. 2) Get payment details (like the shipping address) 3)

PayPal REST API: how to do an immediate payment and without asking for shipping address

自古美人都是妖i 提交于 2019-12-05 05:41:45
I'm trying to use PayPal REST API instead of PayPal Classic API but it seems that the REST API is lacking two features that the Classic API has: immediate payment: when the user goes to PayPal page show him a "Pay now" button instead of a "Continue" button and "You’re almost done. You will confirm your payment on ..." phrase. no shipping address: avoid asking the user to confirm his shipping address while on PayPal page (in Classic API is done with NOSHIPPING=1 parameter, if I remember well) So my question is: is it possibile do perform an immediate payment without asking for shipping address

Set shipping fee based on user's shipping address Paypal REST API

允我心安 提交于 2019-12-05 02:30:42
问题 First, i don't 100% sure that this is the right place for this question. So if it is not let me know i will remove this question for here. I am using PAYPAL REST API to allow user select a product and pay for it. I am looking for an option to set a shipping fee by user's country (shipping address). For example if shipping to Israel fee is 3$ If shipping outside Israel fee is 5$ But i don't want him to input his shipping address in my website. In Paypal, user can have several saved shipping

How to Integrate Paypal Payment gateway in laravel?

谁说胖子不能爱 提交于 2019-12-04 13:02:45
How to Integrate Paypal Payment gateway in Laravel? I tried this http://www.17educations.com/laravel/paypal-integration-in-laravel/ but config have some problem,Please anybody say some ideas Harsukh Makwana Follow Bellow Few Step: 1)Install Laravel Application 2)Database Configuration 3)Install Required Packages 4)configuration paypal.php file 5)create route 6)create controller 7)create view file Step 1 : Install Laravel Application we are going from scratch, So we require to get fresh Laravel application using bellow command, So open your terminal OR command prompt and run bellow command:

Paypal c# REST API asks for an undocumented configuration section

早过忘川 提交于 2019-12-04 11:33:30
I'm hacking hard at Battle Hack London and I've stumbled in an annoying problem. The PayPal SDK for c# doesn't seem to work quite right. I'm trying to do my first transaction and here's my code (which I put together fixing the broken online docs : var tokenCredential = new OAuthTokenCredential(something, someother); var accessToken = tokenCredential.GetAccessToken(); Payment createdPayment = new Payment { intent = "sale", transactions = new List<Transaction> { new Transaction { amount = new Amount { total = value.ToString("R"), currency = "GBP" }, description = forWhat } } }.Create(accessToken

PayPal documentation ( REST, Classic : SOAP & NVP ) What to choose ?

孤人 提交于 2019-12-03 11:38:05
问题 I need to develop a payment solution using PayPal APIs. Actually I started the documentation phase ( on http://developers.paypal.com ) I found the REST APIs understandable, I still don't have an idea how to implement them with SpringMVC so I'm just using cURL to test them. ( any help on this ? ) On the other hand, the Classic APIs are confusing. ( for example what can we do with the Adaptive Accounts and what's the difference between Express Checkout and Adaptive Payments, etc.. ). Another

Django paypalrestsdk error - OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]

天涯浪子 提交于 2019-12-02 18:56:15
问题 I am programming on Django and using paypalrestsdk https://github.com/paypal/PayPal-Python-SDK I am getting this error: OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')] Basically I have created BillingPlan(code snippet https://gist.github.com/axilaris/2f9cf8f5c27a8a2095c5c9abf0dc4121), and this appears: Payment created successfully 2018-05-08 22:44:45,358 INFO Request[POST]: https://api.sandbox.paypal.com/v1/oauth2/token 2018-05-08 22:44:45