136 questions
0
votes
0
answers
45
views
Tooltip implementation for Google chat(hangouts) card v2 template button
We are having a set of buttons in cardV2 template in hangout chat we need to show some button related information to user when user hover over the button using tooltip or other way. Can you guide us ...
0
votes
1
answer
135
views
Two PayPal Buttons On One Page in React
I am trying to render two PayPal no-code buttons on my webpage (e.g. Services Page) They both take different amounts, $ 49 and $ 1000.
Because its implementation in React is a little bit different ...
0
votes
1
answer
445
views
How to capture order Paypal in Nextjs
I am trying to add a PayPal payment functionality to my website. Currently, I am using PayPalButtons from react-paypal-js and PayPal API v2
I am trying to add a PayPal payment functionality to my ...
2
votes
1
answer
129
views
How to change background Paypal buttons on Nextjs13?
I can't change the background paypal's buttons. Anyone else has the same problem ? I tried to add an external div and set a background, but it doesn't change. Is it a nextjs13 issue ? it's possible ?
...
0
votes
1
answer
117
views
Adding shipping via advanced variables or html code to paypal subscription button
I run a small localised oatmilk making and delivery business, and we are trying to set up a subscription model via paypal. The subscription buttons and reports give us (almost!) everything we need, ...
0
votes
1
answer
567
views
PayPal checkout button - validate order before popup
I'm currently working on an event seat reservation project using an online checkout with paypal integration and a user form on the same page. The problem I'm currently facing is that I need to check (...
0
votes
1
answer
173
views
Add notification email address PayPal button to send receipt to
We have multiple buttons (for different services). We want to add an email address to a single button to send sale receipts to. (now it is only sent to the email address of the PayPal account)
Is this ...
2
votes
1
answer
825
views
PayPal 'Pay Now' Button in Javascript without a Backend?
In another question I found the following has been deprecated. Specifically, actions.order.create and actions.order.capture have been deprecated and should not be used in any new integrations
So what ...
0
votes
0
answers
472
views
@paypal/react-paypal-js - Getting INVALID_RESOURCE_ID error
I'm integrating Paypal into an application and I'm using the @paypal/react-paypal-js package. I first first create an order on the backend (route: /create-paypal-order) and then capture the payment on ...
0
votes
0
answers
530
views
PayPal Checkout in ReactJs (adding different payment options)
I'm working on implementing PayPal Checkout into my ReactJs project. I'm using the npm package for react-paypal (https://www.npmjs.com/package/@paypal/react-paypal-js) but I've been unable to add ...
0
votes
1
answer
205
views
View config getter callback for component `div` must be a function (received `undefined`). Make sure to start component names with a capital letter
ERROR Invariant Violation: View config getter callback for component `div` must be a function (received `undefined`). Make sure to start component names with a capital letter.
I don't know why it ...
0
votes
1
answer
49
views
PayPal smart button won't submit with dynamic values
I have a PayPal smart button that looks like this:
The button div is hidden but exists on the page, then after the user makes some choices, the value are populated and the button div is shown.
The ...
0
votes
1
answer
111
views
useEffect is not updating PayPal client id with axios request [duplicate]
Sometimes it seems the most simpliest stuff is not working. I am doing a GET request to my API to get the paypal_client_id, but it's not updating in time.
import { useState } from 'react';
import ...
3
votes
2
answers
1k
views
After Updating on react 18 paypal button show twice
Hello everyone i want to ask about the issue that after updating my react app my PayPal-buttonv2 rendering couple of times and shows Strictmode issues, please guid me thanks in advance
react-dom....
0
votes
1
answer
627
views
Trigger createOrder function (Paypal SDK) via typescript
I am using window.paypal.Buttons() in an Angular 12 page.
I created a Paypal component where there is only the Paypal button:
paypal.components.html
<div id="paypal-button-container" #...
1
vote
2
answers
1k
views
How to Fix Duplicated Paypal Button in React Strict Mode
Hi guys would like to know how to fix this issue after updating to React 18 I have a duplicated
button due to the useEffect while in StrictMode. Any guide how to unsubscribe to this API call
or maybe ...
1
vote
2
answers
118
views
Paypal Gift Aid
I have implemented PayPal Gift Aid / Donate as a separate SDK by following this documentation PayPal Donate SDK. But how can I add this Donate functionality to regular PayPal payment as a checkbox ...
0
votes
2
answers
1k
views
Capture payment method used to pay with PayPal Checkout/Orders API
I'm using the Standard Integration of PayPal Checkout (via the Orders API), and want to capture the actual payment method - which I believe PayPal calls a "funding source" - that the ...
7
votes
1
answer
3k
views
permission_denied error when capturing paypal order with paypal buttons and php
since a few weeks ago I receive an error, when capturing a paypal order.
All works fine in the sandbox but not in the production environment.
The buttons are rendered correctly and the paypal window ...
0
votes
1
answer
127
views
How i setup paypal payment button?
I have a button that redirects to a paypal payment on my website. i want to do that only if you bought the thing im selling it will redirect to the download page and you can't access it just by typing ...
1
vote
0
answers
255
views
Bootstrap button and Paypal button same size
Is there a way to make the two buttons of the same size?
Also possibly when the page is resized?
I noticed that the paypal button, when the page is resized, changes its height.
It would be great if ...
0
votes
1
answer
362
views
PayPal Subscription Button Coupons
I am using Paypal buttons to subscribe customers to a plan.
I am trying to apply coupons on the Paypal buttons without any luck.
This is the code that generate the Paypal button on the frontend:
...
0
votes
1
answer
84
views
Paypal Button issues
At the beginning of last week I was able to process two orders and was unaware of any other possible orders. These two orders were correctly received, processed and shipped.
I have received no further ...
3
votes
1
answer
938
views
Horizontal layout of PayPal buttons
I would like to arrange the PayPal and the Credit Card buttons horizontally as is described in the documentation. When I stacked them vertically, both buttons were displayed just fine. However, the ...
0
votes
2
answers
489
views
Transitioning from the old PayPal button to the PayPal Javascript SDK button
I have used the plain paypal button like this with no problems:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" ...
5
votes
1
answer
714
views
How can I show a PayPal Smart Subscription Button and a PayPal Smart Capture Button on the same page?
When trying to add a PayPal subscription button and a capture/order button for one-time payments to the same page, you need to import PayPal's Javascript file twice with different parameters (intent=...
2
votes
2
answers
753
views
PayPal Buttons and Webhook integration
I have a Paypal Button setup with the following code:
paypal.Buttons({
createSubscription: function(data, actions) {
return actions.subscription.create({
'plan_id': 'P-PLANID'...
0
votes
0
answers
340
views
Why blinks when the paypal button is rendered in nextjs?
I used react-paypal-button-v2 to display the paypal button as below.
When the window refreshes, only the button flashes.
I think it's because of animation rather than ssr.
Can I disable the default ...
0
votes
1
answer
77
views
I want to replace my paypal email address with some text on Paypal Checkout
I have a problem with PayPal custom checkout. I want to replace my PayPal email address on the custom shopping cart checkout form:
Here is my code:
<form action="https://www.paypal.com/us/cgi-...
0
votes
1
answer
177
views
I am needing a paypal button to replace a submit button. Right now i have both and it is weird
https://jsfiddle.net/Popo74123/q92jh1p0/474/
This is my code that i have. Right now the paypal button is submitting the form. Its not connected to paypal as of right now. basically what I want is when ...
1
vote
1
answer
941
views
PayPal window is not closing and onApprove is not called
I had a working PayPal flow for buying subscription using PayPal buttons. User had to click the button, PayPal window opened, after filling all the data, PayPal window disappear, onApprove hook was ...
0
votes
1
answer
1k
views
PayPal Buttons in Flutter Web with a Node SDK
I am looking for a way to add PayPal buttons in Flutter Web. Since I am not very smart I only could add those from html code, but it is only redirection.
I need to use JavaScript PayPal buttons or ...
0
votes
1
answer
49
views
How should I transfer the entered information to my server via PayPal after the success of the purchase?
I just started working with PayPal online payment system, I started making smart buttons in PayPal but I could not implement what I wanted.
I need that when the user enters a value in the Field Text ...
-1
votes
1
answer
292
views
Does a second call to Paypal button JS SDK createOrder method result in two orders?
If you create an order id, and then create a button adding the order is like this:
paypal.buttons({
createOrder: function(data, actions) {
return orderId;
},
.
.
}).render('#my-...
0
votes
1
answer
408
views
PayPal Checkout / Smart Buttons - Error with createOrder & empty fields which are optional
With the createOrder function I am passing some of the customer information, mainly to pre-populate the credit / debit card fields.
Something like phone number optional at checkout. With the following ...
0
votes
2
answers
204
views
PayPal smart button switch to subscription / recurring donation
I've managed to get the PayPal smart button working, but would like to know if it's possible to switch the payment button to a subscription programmatically after it's been rendered? And what the best ...
1
vote
1
answer
5k
views
PayPal Smart Button onclick Event
Currently I am using PayPal smart button for my website's payment gateway and I am using ASP.NET MVC to do so.
I was wondering is it possible to create an "on click" event on the PayPal in ...
0
votes
1
answer
391
views
How to capture and securely verify payment completion from Paypal's buttons?
Following the code from https://www.paypal.com/buttons, I follow the "Smart Buttons" link, generate and copy the code, so I add the following to our payments page (with our actual clientID ...
0
votes
1
answer
539
views
How to make Paypal button invoke "live" functionality?
Following the code from https://www.paypal.com/buttons, I follow the "Smart Buttons" link, generate and copy the code, so I add the following to our payments page (with our actual clientID ...
2
votes
1
answer
1k
views
PayPal smart button - how to preselect users country for billing
I have a PayPal smart button on my website, with buttons for "PayPal" and "Debit or Credit Card"
When clicking on the card button, it expands fields for the card and billing info
...
1
vote
1
answer
112
views
Can I save a unique ID in paypal side like invoice_id after paypal popup closes
I need to store my application's transaction id in paypal console. ie for every transaction i need to save this id and i need to check the respective transaction in paypal console using this id. I ...
1
vote
0
answers
191
views
React js Script Tag for PayPal buttons from their Button Builder and I don't know how to put in React.js project
so i'm about to put a PayPal button on a site but this is my problem, i'm kinda intermediate to React except the script tag
this error appeared
Failed to compile.
./src/billings/paypal/...
0
votes
0
answers
739
views
How to pass in order id or any custom id for tracking purposes?
I am using vue and this npm library https://www.npmjs.com/package/paypal-checkout
Let's say I want to store the record into db, and I would like to have an id which I can correlate to my user id or ...
1
vote
0
answers
89
views
Problem with PayPal smart buttons flow for subscriptions
I'm implementing PayPal smart buttons. The standard checkout button that uses createOrder works fine, but when I try to implement a Subscription button using createSubscription, it fails.
This is my ...
1
vote
1
answer
325
views
JS client for PayPal Smart Buttons /v2 API: how to set payment_method and override brand_name?
Can't figure out how and where to set 1.payment_method to ' IMMEDIATE_PAYMENT_REQUIRED', override 2.brand_name (Seller's default name on PayPal account) and 3.To getan invoice_id(order_id) onApprove.
...
0
votes
1
answer
59
views
PHP IPN script works with IPN simulator but not with PayPal button
I have set PayPal sandbox account and created a button and put it in HTML. When I test everything out with IPN simulator it works just fine, but when purchase is made through PayPal button (sandbox ...
4
votes
1
answer
2k
views
Advanced card payments SDK showing error during submission of form
Error: "Hosted Fields payment is already in progress."
I have copied it from this PayPal documentation, and in the SDK URL pass a proper sandbox clientID.
if (paypal.HostedFields.isEligible()) {
...
5
votes
1
answer
693
views
How do I add PayPal Smart Buttons to a Chrome Extension?
I thought that it would be an easy 2 line integration as seen here. But after adding the correct CSP in order to allow in line executions, the behavior is not as intended. The window pops up and ...
1
vote
1
answer
2k
views
Render 'Buy Now' PayPal Smart Payment Button without branding
I have implemented PayPal on my PHP website. Everything is working fine but I want to show the PayPal button with a Buy Now and no 'PayPal' text
The documentation says to set label:'buynow' and ...
1
vote
2
answers
2k
views
Smart PayPal Buttons in React, disable the button
I have this implementation of the PayPal smart buttons in React:
function PayPalButtonComponent(props: PayPalButtonProps) {
const [show, set_show] = useState(false);
const [error, set_error] = ...