1,367 questions
Advice
0
votes
2
replies
65
views
Paypal API endpoints for getting zipcode information
We've been asked to provide a breakdown of our US customers transactions on Paypal and I'm looking for a zipcode field which does not seem to exist on our US customers' transaction details. This is ...
0
votes
0
answers
117
views
Error when using order_update_callback_config for shipping callback
Trying to implement paypal checkout using REST API. Currently have a working CAPTURE intent call. I am trying to follow the example provided by PayPal here:
https://developer.paypal.com/studio/...
0
votes
0
answers
40
views
PayPal subscription shipping - is the shipping amount recurring?
When someone subscribes to a plan via PayPal API, does the shipping gets charged at the next billing period? Or is it a one time payment? Thanks!
For example, there is shipping charged at the free ...
0
votes
1
answer
815
views
paypal_js_sdk_v5_unhandled_exception, Uncaught Error: Component closed
I've set up PayPal subscriptions on a React app I started working on 2 years ago. I started working on it again recently.
I'm getting 2 console errors: paypal_js_sdk_v5_unhandled_exception, and ...
0
votes
0
answers
56
views
PayPal Transaction Search API not including transaction_note property
The API described at https://developer.paypal.com/docs/api/transaction-search/v1/ is no longer returning "transaction_note", for transactions that definitely have notes, and which returned ...
0
votes
1
answer
122
views
How to integrate PayPal Advanced Checkout in Laravel
I want to integrate the form with PayPal. This means that when someone fills out the form, chooses a payment method and fills in the payment details, their card balance will be reduced. I don't want ...
0
votes
1
answer
58
views
can we create paypal payout using MerchantIdbyPaypal
I am working on seller onboarding through partner referral. I got paypal merchant Id in return url can i directly create payout using this id. if not then what step do i need to take to get the email ...
-1
votes
1
answer
72
views
unable to generate Paypal Referal Link
I am working on paypal onboarding seller to my platform.
I am following this paypal referral
but i got this error
{
"msg": "{"name":"NOT_AUTHORIZED","debug_id&...
0
votes
1
answer
52
views
PayPal JavaSDK: get what card/account was selected when created Payment Method Token
Is there any way to get information about card/bank account was selected by user during approve of Payment Method Token creation via PayPal's REST API?
I see that this information is displayed in '...
1
vote
0
answers
51
views
Omnipay Paypal php issue - adding multiple items to checkout
I'd like to be able to pass multiple items with their details through an associative array as shown in the following code:
<?php
require_once 'config.php';
if (isset($_POST['submit'])) {
try {...
0
votes
0
answers
123
views
PayPal sandbox webhook signature verification fails for an event but succeeds for another
I'm using Python with FastAPI:
This are my endpoints. The first receives a checkout order completed event and, if valid, triggers the payment capture. The payment capture webhook sends another ...
0
votes
1
answer
114
views
PayPal receiving order not approved even onApprove function triggered
Trying to test sandbox createOrder Capture Order with angular
Receiving "Payer has not yet approved the Order for payment"
Order is created correctly.
Angular code
try {
this.paypal = ...
1
vote
0
answers
89
views
PayPal subscription issue, updating start/end subscriptions
I have a website offering subscriptions to use my tools. I am having an issue where my script isn't updating users subscriptions start/end dates.
For example, a users registers for a day subscription (...
1
vote
0
answers
129
views
how to override plan without trial when revising the subscription to new plan on PayPal?
We can upgrade or downgrade a subscription by changing the plan within the same Product using the /v1/billing/subscriptions/{id}/revise endpoint. We have to provide the new Plan ID in the Post body ...
0
votes
2
answers
241
views
Paypal Via Rest API(Continue to Review) Infinite loop
I am using Paypal Rest API in website.
The challenge is I am being stuck at "Continue to Review Order" Button. When I am clicking it infinitely directing to same URL
Find the code below:
...
0
votes
1
answer
223
views
How to get the merchant-id or how do i get the id that connects my user to get paid via PayPal?
At the moment, I'm going through the onboarding process. Call this API call, where I can get the action URL, so that the onboarding starts. So I request this API call:
https://api-m.sandbox.paypal.com/...
2
votes
0
answers
62
views
PayPal API - Sending partner-referrals keeps coming back as Unauthorised
I Have this in my payload:
{
"tracking_id": "868gkjhkhjlklj",
"operations": [{
"operation": "API_INTEGRATION",
...
0
votes
1
answer
83
views
PayPal API - Authorization header does not have valid access token
I'm trying to use the PayPal API with this code to get a Valid Token:
var clientId = "yyyy";
var secret = "xxxx";
var client = new RestClient("https://api-m.sandbox.paypal....
2
votes
1
answer
98
views
How to determine that an order has expired? The query order interface (/v2/checkout/orders/{id}) does not return the expiration time
Goal: Re-create an order by judging that the order has expired
Current situation: The order details query interface does not return the expiration time.
interface: https://developer.paypal.com/docs/...
0
votes
1
answer
56
views
PayPal GIROPAY is automatically cancelling the orders
In Germany there is a payment method called giropay.
Unfortunately, when I integrate them one-to-one according to the PayPal documentation, an error occurs.
The giroypay button is rendered normally. ...
0
votes
1
answer
178
views
PayPal /v2/checkout/orders patch custom_id (update order)
When updating a PayPal order using the REST API, we typically do it as below according to the documentation at https://developer.paypal.com/docs/api/orders/v2/#orders_patch
curl -v -X PATCH https://...
2
votes
1
answer
127
views
PayPal REST API /v2/scim/Users Endpoint Hangs Indefinitely
As the title states, the /v2/scim/Users endpoint hangs indefinitely when I try to make a request to it, so far both in Node JS code and from Postman. As far as I can tell, I'm implementing my HTTP ...
0
votes
1
answer
260
views
PayPal ITEM_TOTAL_MISMATCH issue
I am facing "ITEM_TOTAL_MISMATCH" issue in PayPal api. I am calling "v2/checkout/orders" api. Quantity is 105 and amount is $115. Unit amount is $1.095238095238095 but PayPal api ...
0
votes
1
answer
266
views
Paypal Advanced Checkout not working on laravel app
I am trying to implement an advanced paypal checkout, everything works fine when trying the advanced paypal example here. I used my own client id and secret to do so, and it also worked, but when ...
1
vote
2
answers
115
views
Paypal Payout API
Hello stackover community, I want to integrate paypal payout functionality in my existing nodeJS Application. while doing RnD i found out that i can't send money from paypal's account to bank account ...
1
vote
1
answer
72
views
Refunding a REST API-captured payment using NVP?
I'm trying to implement refunds for payments captured using the REST API's "capture payment" functionality. I'm saving the transaction ID for reference.
My question is: can I use NVP for ...
0
votes
1
answer
208
views
Passing Internal Order ID Between Webhooks (CHECKOUT.ORDER.APPROVED & PAYMENT.CAPTURE.COMPLETED)
I'm trying to figure out the best way to pass an internal order ID between different webhook events, specifically from CHECKOUT.ORDER.APPROVED to PAYMENT.CAPTURE.COMPLETED. Here's what I've tried so ...
1
vote
1
answer
361
views
PayPal: Experience Context causes "Create order" API call to fail
I want to set the shipping preference during a "Create order " POST /v2/checkout/orders call.
If I use the deprecated method of using application_context then it works fine:
{
"intent&...
1
vote
1
answer
491
views
Get complete shipping address from PayPal while showing PayPal popup
I know two ways of getting the shipping address, both of which are not sufficient in my case:
In JavaScript with the onShippingAddressChange callback
Disadvantage: Only gives city, countryCode, ...
0
votes
1
answer
204
views
On Create not triggered in PayPal button - Angular 17
I was trying to implement PayPal check out with Angular 17 but cannot get on create to be triggered when pressing PayPal button
PayPal check out window does show up but the amount is not incorrect and ...
0
votes
1
answer
162
views
How to redirect to the home page after a successful PayPal webhook payment in Flutter?
I'm working on a Flutter app that requires redirecting the user to the homepage widget after successfully processing a payment through PayPal webhooks. However, after the payment is successful, the ...
1
vote
1
answer
599
views
How to fix 'Webhook signature verification failed' in PayPal Node.js webhook?
While implementing PayPal webhooks in a Node.js application, I encountered an 401 Unauthorized error with the message "Webhook signature verification failed". This issue arises when I make a ...
0
votes
1
answer
133
views
How to Link JWT User ID with PayPal Custom ID After Payment in Node.js?
I'm developing a feature in my Node.js application where I need to associate a user's ID, obtained from a JWT (JSON Web Token), with a custom_id from PayPal after a successful payment. The user ID and ...
0
votes
1
answer
87
views
How to share `response` between routes in Express for PayPal subscription?
I'm working on integrating PayPal subscriptions into my Node.js application using Express and encountered a problem sharing the subscription ID obtained from PayPal's /create-subscription route with ...
0
votes
1
answer
620
views
How can I send money to someone else's bank account linked to Paypal using Paypal API?
I need to send money from my paypal account either to a bank card linked to a PayPal, or directly to a bank card, not necessarily linked in a PayPal account. I have used some API's that send money ...
0
votes
2
answers
73
views
Can we do the success page redirect from server side?
We are using PayPal Checkout Server-side PHP (Orders v2 REST API with PayPal JavaScript SDK). For a long time, we have been suffering a problem, with almost 2-5 % of our orders not successfully ...
0
votes
2
answers
87
views
Checkout REST API Card Payment Landingpage
My goal is to redirect the customer directly to the credit card payment page.
landingpage goal
Actually, there is a parameter landing_page in the order interface, which sounds to me as if it should do ...
0
votes
1
answer
188
views
How to specify payee in paypal api?
I am trying to create a payment/payment request for a payee on the payers behalf (payer sends money to payee) using the Paypal API. I have no need for a cart/checkout/order that I have seen in other ...
1
vote
0
answers
119
views
Paypal partner-referrals first party or third party integration
I have a marketplace platform with buyers and sellers, and sellers need to connect their Paypal account in order to receive payments from buyers. I'm using the partner-referrals endpoint to onboard ...
0
votes
1
answer
209
views
How to Process PayPal Subscription Refund With API?
After proceeding with the subscription to Sandbox, the data below will be answered.
orderID:3MA30854KN5622241
subscriptionID:I-E1DY12BAWXD1
With the above information, it is possible to suspend the ...
1
vote
0
answers
176
views
MERCHANT.ONBOARDING.COMPLETED webhook not being triggered
I'm trying create a listener for the MERCHANT.ONBOARDING.COMPLETED in my sandbox environment. After the user goes to the return url specified in "partner_config_override/return_url" of the /...
0
votes
1
answer
257
views
Updating Shipping details for digital orders using PayPal API
I am using paypal Standard checkout using Rest API for digital orders. As soon as the client pay, the order is marked as COMPLETED. Now, I have to update the shipping details by going to txn page =>...
1
vote
0
answers
314
views
Error " ... duplicate typename 'AuthorizationStatus' detected, can't auto-rename.." while using oapi-codegen to generate client code
I am trying to use paypal's Orders V2 API (https://github.com/paypal/paypal-rest-api-specifications/blob/main/openapi/checkout_orders_v2.json) to generate Client code using oapi-codegen tool. I get ...
1
vote
0
answers
98
views
Unable to download paypal dispute related attachments with Rest API
Unable to download dispute related attachment via Rest Api
Access token was generated with all the scopes below:
scopes
I can get disputes using this api endpoint:
https://api-m.sandbox.paypal.com/v1/...
0
votes
0
answers
495
views
PayPalWebCheckoutClient returning to app but not confirming the payment
I am working on an app with paypal payments. I have chosen to the the WebCheckoutClient as I spent too long trying to get the NativePaymentsClient to work.
It all appears to be fine and I return to my ...
0
votes
1
answer
895
views
PayPal- Payments Rest API
I have used the Create Payment(https://api-m.paypal.com/v1/payments/payment) RestAPI in my project.As per PayPal official documentation,the PayPal-v1/payments will be deprecated.
I have not found the ...
0
votes
1
answer
148
views
PayPal: Straightforward ask to pay - get confirmation example and docs (PHP)
I have a list of products on my site.
The way it is implemented on my site is of no importance, lLet's say it is a table with checkmarks. The user selects products to order:
product_1 $4.99
product_2 $...
0
votes
1
answer
373
views
PayPal Save for Purchase Later - Save cards issue
I am creating a section on the checkout payment info where a customer should enter their card details so, in the case of market loss (*), we can charge him later on that card through PayPal.
I am ...
1
vote
1
answer
102
views
Calculating sales tax for digital goods with REST SDK
I'm trying to update our website to use the new PayPal v2 API, and have struck a problem handling local sales tax.
We sell digital goods only, so I want to set the shipping_preference to NO_SHIPPING. ...
0
votes
1
answer
389
views
Paypal Advanced Integration - Hosted Fields and SCA Integration
I've integrated Paypal advanced integration using hosted fields but am struggling to see how I can integrate the SCA flow.
According to the following:
https://developer.paypal.com/tools/sandbox/card-...