Questions tagged [paypal-buttons]

anything to do with paypal's variety of buttons

Some Useful Links:

Related Tags

135 questions
3
votes
9 answers

Paypal : hosted button payments fail with code=AMOUNT_ERROR

I've been using paypal buttons for years, using IPN to process the payment. Some of these buttons have stopped working a couple of days ago. They produce an error as can be seen on the following image : (screenshot) These buttons have been created…
JLuc
  • 333
  • 5
  • 15
3
votes
3 answers

How can I add style to Paypal Checkout button?

Is there a way to add some style to Paypal checkout button? Or create my own button for paypal checkout?
ArmKh
  • 435
  • 9
  • 31
3
votes
1 answer

How to encrypt PayPal's button

I'm little bit fighting with the PayPal button. I have the unencrypted version which works great, the problem is that the customer can change the amount etc. I found out that is possible to encrypt the data. I used these two examples. The problem is…
martin.malek
  • 2,166
  • 2
  • 19
  • 31
2
votes
1 answer

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 In billing info, it preselects USA as the default country. Users find…
Lawrence Cooke
  • 1,567
  • 3
  • 26
  • 52
2
votes
0 answers

How to test-automate PayPal SDK button payment flow?

What's a recommended or reliable way to programmatically test a PayPal payment flow that uses the PayPal Smart Payment Button? window.paypal.Buttons() is loaded from https://www.paypal.com/sdk/js . Tests are running against PayPal Sandbox. I tried…
Arc
  • 11,143
  • 4
  • 52
  • 75
2
votes
1 answer

Paypal Subscription Button Upgrade Membership

I created 2 Subscribe button with paypal. This buttons for different membership : 1. basic 2. pro. I am trying to subscribe membership with thisbuttons and working without any problem. But when I was trying to upgrade or downgrade via other buttons…
onder
  • 795
  • 3
  • 14
  • 32
2
votes
2 answers

using paypal button - can my webpage tell if paypal transaction was successful or not?

I am using joomla and have brought a component which allows users to post listings on my site. The plugin uses a credit system to pay for the listing but the credit system is quite complex and confusing so i have disabled it. I found that PayPal…
BBLJ84
  • 175
  • 1
  • 12
2
votes
2 answers

Create dynamic PayPal buy now button in PHP

Currently I'm using PayPal buttons for receiving payments from users. I have a website that automatically calculates postage cost for a particular item, and I want to update the cost on the PayPal page to reflect the shipping costs. How do I…
prunmit
  • 31
  • 4
2
votes
2 answers

View Paypal shopping cart contents on my site

I have paypal "add to cart" buttons set-up throughout my site and a "view cart" button at the top of every page. The code for the view cart button is:
2
votes
1 answer

How to Add Option Selection to PayPal JavaScriptButtons

I'm trying to use the new PayPal JavaScriptButtons: https://github.com/paypal/JavaScriptButtons. How can I add a product variation drop-down select?
mikedev
  • 21
  • 1
1
vote
2 answers

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 fix it using a proper cleanup. Thanks in…
1
vote
2 answers

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 just like the attached screenshot Donor opt into…
Faizan Haidar Khan
  • 1,099
  • 1
  • 15
  • 20
1
vote
0 answers

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 the two buttons had the same width 50%/50% compared…
1
vote
2 answers

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' }); }, onApprove:…
Bijan
  • 7,737
  • 18
  • 89
  • 149
1
vote
1 answer

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 fired and I can handle the rest in my code. But for…
Zenek Wiaderko
  • 392
  • 2
  • 14
1
2
3
8 9