paypal-sandbox

Paypal Adaptive API return URL mapping with token

喜你入骨 提交于 2021-02-20 04:23:45
问题 I have been trying to solve the following issue from using Paypal Adaptive API. I have integrated Paypal Adaptive chained payment API with my website. When the user clicks on the "pay with paypal" button, it takes to paypal website for payment. My issues starts from here Paypal return to my returnURL, but how do i tie the original request for payment after the return. The returnURL is a HTTP GET with no query parameters from paypal. If i want to use IPN, this wont allow me to test in local

Revoke Paypal Access within Paypal and from our App

心已入冬 提交于 2021-02-11 14:56:58
问题 I have implemented Connect with PayPal for our Vendors to connect their Paypal Account to our apps. I was able to successfully receive the access token. I, however, do not see our app in the Merchant's account : https://www.sandbox.paypal.com/businessmanage/account/accountAccess on the Front End I am using Paypal Checkout to collect the payments for our Merchants by using the 'payee' object while creating the order id. Where can I find our app in the Merchant Paypal account to revoke. What is

PayPal PHP SDK not working for Subscriptions, get RESOURCE_NOT_FOUND

假如想象 提交于 2021-02-10 06:10:23
问题 I try to use PayPal Smart Button to purpose payment on a website. I first created a plan, I got its ID, and I activated it, via commands with the API and the PayPal SDK in PHP. The plan appears to be active. <script src="https://www.paypal.com/sdk/js?client-id=sb-key&vault=true&disable-funding=card"></script> <script> paypal.Buttons({ env: 'sandbox', createSubscription: function(data, actions) { return actions.subscription.create({ 'plan_id': 'P-85G86700MN...223CGEJWTI' }); }, onApprove:

PayPal Express Checkout in Sandbox leaves transactions 'Pending'

☆樱花仙子☆ 提交于 2021-02-05 09:38:17
问题 I've integrated PayPal Express Checkout using the method at https://developer.paypal.com/docs/checkout/integrate/#1-set-up-your-development-environment , with the JS SDK. Everything works fine and I am able to create a button with the amount and the transaction succeeds. However, I don't see the money coming into the sandbox business account. I do see the transaction on the sandbox personal account, but it's pending on approval from seller, which I don't see there. Not sure if this is sandbox

PayPal REST API returns INVALID_CURRENCY_AMOUNT_FORMAT

旧时模样 提交于 2021-02-05 08:10:53
问题 response-code: 400 details: name: VALIDATION_ERROR message: Invalid request - see details details: [{ "field": "transactions.amount", "issue": "Cannot construct instance of com.paypal.platform.payments.model.rest.common.Amount , >problem: INVALID_CURRENCY_AMOUNT_FORMAT" }] debug-id: 86ad5783892c3 information-link: https://developer.paypal.com/docs/api/payments/#errors package com.spring.soap.api; @Configuration public class PaypalConfig { @Value("${paypal.client.id}") private String clientId;

PayPal REST API returns INVALID_CURRENCY_AMOUNT_FORMAT

徘徊边缘 提交于 2021-02-05 08:10:38
问题 response-code: 400 details: name: VALIDATION_ERROR message: Invalid request - see details details: [{ "field": "transactions.amount", "issue": "Cannot construct instance of com.paypal.platform.payments.model.rest.common.Amount , >problem: INVALID_CURRENCY_AMOUNT_FORMAT" }] debug-id: 86ad5783892c3 information-link: https://developer.paypal.com/docs/api/payments/#errors package com.spring.soap.api; @Configuration public class PaypalConfig { @Value("${paypal.client.id}") private String clientId;

Paypal Checkout - Payment always on pending

谁说胖子不能爱 提交于 2021-02-02 09:56:32
问题 Since three days i am trying to get the Paypal Checkout to work but i always have the problem that the order is created and the money in gone from the buying account but not reaching the payee account. So here is my setup: The Smart Buttons integeration in JavaScript: paypal.Buttons({ env: enviroment, // Set up the transaction createOrder: function() { let formData = new FormData(); formData.append('bookingId', bookingId); return fetch (url_createOrder, { method: 'POST', body: formData })

Paypal Checkout - Payment always on pending

依然范特西╮ 提交于 2021-02-02 09:54:20
问题 Since three days i am trying to get the Paypal Checkout to work but i always have the problem that the order is created and the money in gone from the buying account but not reaching the payee account. So here is my setup: The Smart Buttons integeration in JavaScript: paypal.Buttons({ env: enviroment, // Set up the transaction createOrder: function() { let formData = new FormData(); formData.append('bookingId', bookingId); return fetch (url_createOrder, { method: 'POST', body: formData })

Anyone who have used Paypal connect integration? Paypal connect, that is used to get Client or customer information?

旧时模样 提交于 2021-01-28 14:01:17
问题 I want to Use Paypal Connect API using Connect With PayPal Integrate https://developer.paypal.com/docs/connect-with-paypal/integrate/ Anyone who has done it before because I am having such errors. I have integrate this Successfully till 5th step, but here in 6th step I cant hit API successfully This is my request: Method: POST, RequestUri: 'https://api.sandbox.paypal.com/v1/oauth2/token?grant_type=authorization_code&code={CodeProvided}', Version: 1.1, Content: , Headers: { Authorization:

PayPal Server SDK: how to approve an order ID

限于喜欢 提交于 2021-01-28 10:12:18
问题 I was trying to implement paypal api for one of my projects I am using sandbox environment and server side sdk In the request i have { "intent": "CAPTURE", "application_context": { "brand_name": "EXAMPLE INC", "landing_page": "BILLING", "shipping_preference": "SET_PROVIDED_ADDRESS", "user_action": "PAY_NOW" }, i.e "intent": "CAPTURE" "user_action": "PAY_NOW" I created an order using the api OrdersCreateRequest(). In the response i get the result.id = "IDVALUE" result.status = "CREATED" and