paypal

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 })

What is the best way to enable a website users send money to each other?

て烟熏妆下的殇ゞ 提交于 2021-01-29 20:16:23
问题 I am working on something that needs to enable the users to send money to each other, is there any platform that can support such operation? for example: user 1 configures his paypal email address and user 2 makes a small donation! 回答1: With PayPal, you can integrate the regular PayPal Checkout / Smart Payment Buttons , and then add in a payee object with an email_address parameter, documented here: https://developer.paypal.com/docs/checkout/integration-features/custom-payee/ 来源: https:/

How to auto charge for my online service using Google Pay

天涯浪子 提交于 2021-01-29 20:12:18
问题 I want to make a website, which has a function, users have to login and link their credit card to use that function, and I charge them for how many times they use in a month. Just like how Google does on Google Ads. How can I do this? Is this possible by using Google Pay API? Google Pay FAQ says: Support for recurring billing is tied to the payment method returned in the Google Pay API response. Both tokenized cards and cards on file can be used for recurring billing. To process recurring

PayPal Checkout JavaScript: changing currency without redirecting or refreshing page

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-29 07:11:40
问题 Our website has a checkout flow that would break if redirecting to PayPal for approval. Also we have different currencies so the PayPal SDK will not work for our purposes, since you need to reload to change the currency. Can we build our own checkout integration opening the URL received from the API side in a new window, or is our only option to use their SDK? 回答1: You need to reload the JS SDK to change the currency, but you don't need to refresh the page. Here's a short vanilla JS function

Issue with paypal smart buttons integration

扶醉桌前 提交于 2021-01-29 06:06:36
问题 I've already setup a paypal payments flow. In which if a user were to click to 'pay with PayPal', a pop up opens up which asks the user the sign in to their paypal account and then make the payment from there. This flow works as it is. The issue I'm facing is with the 'pay with credit or debit card' button which the PayPal smart button JavaScript SDK provides. When clicking on this button, it does not open a pop up like it does for the 'pay with PayPal' button. Instead it opens an inline form

Is there a way to authorize orders calling the paypal api directly

眉间皱痕 提交于 2021-01-29 02:40:14
问题 For my users to be able to send money to each other on my website I figured the following flow: User is authenticated with paypal connect "Clicks on a pay button" calling my api In the api Create an order calling /v2/checkout/orders what returns HATEOAS links, order id. And, I need the user to follow the authorize order link from the HATEOAS links to authorize the order. User follows the link. I capture the order calling /v2/checkout/orders/{id}/capture And, here is a question: how do I know