paypal-rest-sdk

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

☆樱花仙子☆ 提交于 2019-12-22 18:06:48
问题 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

How to Integrate Paypal Payment gateway in laravel?

左心房为你撑大大i 提交于 2019-12-21 20:21:54
问题 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 回答1: 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

How to Integrate Paypal Payment gateway in laravel?

有些话、适合烂在心里 提交于 2019-12-21 20:20:01
问题 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 回答1: 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

PayPal Rest API - Update Billing Plan Return URL

三世轮回 提交于 2019-12-21 03:27:43
问题 I have been using the PayPal Rest API and have successfully created and activated a BillingPlan but I'm having trouble updating said plan's return_url . I think it's something to do with the JSON path I'm using although I'm not sure why!? Anyway, I am calling the update plan method: https://developer.paypal.com/docs/api/#update-a-plan A BillingPlan follows the format: { "id": "P-94458432VR012762KRWBZEUA", "state": "ACTIVE", "name": "T-Shirt of the Month Club Plan", "description": "Template

paypal api: take immediate payment without a shipping address

爱⌒轻易说出口 提交于 2019-12-19 18:57:55
问题 been pulling my hair out for hours on this one... i can't find a way to take an immediate payment via the paypal api without specifying a shipping address. i'm selling tickets that are delivered via email, no shipping is required. there is info out there specifying you have to create a 'web experience profile'. however, one i can't find out how to pass the 'WebProfile()' to the payment and two, it's not what i want to do because the user then has to return the host website to authorise taking

Refund users using paypal rest API

烈酒焚心 提交于 2019-12-19 04:57:08
问题 I'm developping a web application on which I allow the users to buy a ticket for an event. I used the Paypal Rest API for sending money and purchasing the tickets.Everything is working just fine. Now I'm trying to use the refund method to refund all users related to an event when this event will be cancelled. Looking in the REST API documentation I found that there is a way to refund but when I search in the REST API package for laravel I haven't found how to refund or use the refund method.

In-Context Checkout: Uncaught SecurityError: Blocked a frame with origin: checkout.js:4734 throws error

亡梦爱人 提交于 2019-12-17 21:28:42
问题 I'm implementing PayPal's In-Context Checkout and am using Advanced In-Context JavaScript settings (https://developer.paypal.com/docs/classic/express-checkout/in-context/javascript_advanced_settings) My app is a React app. So I can't use PP API as they suggest it, that is just throw a code between <script> ... </script> tags somewhere in the page under their buttons. My React components have state and data that I need to send to server within PP function calls. So I placed PP code in

PayPal REST SDK: Remove shipping address and payment authorization so it does go to pending state [closed]

冷暖自知 提交于 2019-12-13 22:35:33
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I want to sell a feature/features to my client and the payment should be instant, so that it unlocks a feature immediately whenever the transaction is completed. I managed to execute the transaction and the sandbox personal account shows that transaction but the sandbox merchant

PayPal Express Checkout pass transactionID

岁酱吖の 提交于 2019-12-13 21:46:43
问题 Im Implementing PayPal's Client Side REST implementation for Express Checkout: https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/client-side-REST-integration/ How does anyone know what the field is where you pass them a transaction or reference ID that they will then return via the? https://developer.paypal.com/docs/api/payments/ Tried transaction.reference_id, and the invoice_number fields. No luck. 回答1: If anyone else is wondering you can make use of the

Search client transactions data

好久不见. 提交于 2019-12-13 13:27:55
问题 I'm building an application that resembles personal financing. For that, I need to fetch information about that customer's transactions. I managed to run the GetBasicPersonalData example within the permissions service. Here it says that requesting TRANSACTION_SEARCH will allow me to use TransactionSearch on behalf of the customer. There is no such endpoint and calling the NVP service with METHOD=TransactionSearch and similarly constructed X-PAYPAL-AUTHORIZATION header doesn't do it either.