express-checkout

Paypal Express Checkout provide full items discount

若如初见. 提交于 2019-12-08 03:14:00
问题 I'm using Express Checkout in Paypal and trying to pass discount as a separate item (according to manual this is supported). I pass the following part (full discount on the item, but require to pay shipping): &NOSHIPPING=0 &PAYMENTREQUEST_0_SHIPPINGAMT=2.00 &PAYMENTREQUEST_0_SHIPDISCAMT=0.00 &L_PAYMENTREQUEST_0_NAME0=Item1 &L_PAYMENTREQUEST_0_QTY0=1 &L_PAYMENTREQUEST_0_AMT0=25.90 &L_PAYMENTREQUEST_0_NAME1=Discount &L_PAYMENTREQUEST_0_QTY1=1 &L_PAYMENTREQUEST_0_AMT1=-25.90 &PAYMENTREQUEST_0

Paypal Express checkout showing old site instead of new

冷暖自知 提交于 2019-12-07 11:41:34
问题 I am trying to setup Paypal express checkout for my website, and I have managed to get it to work, however I have noticed that on some websites you appear to get the new style of Paypal, but on mine I appear to be getting the old. New style that I want: The style that I'm getting: I want to be able to set one or more items as part of the invoice, as well as always having a payment fee and booking fee, as in the first picture above. When making the initial call to Paypal to get a token to

Paypal Express Checkout provide full items discount

心不动则不痛 提交于 2019-12-06 20:27:40
I'm using Express Checkout in Paypal and trying to pass discount as a separate item (according to manual this is supported). I pass the following part (full discount on the item, but require to pay shipping): &NOSHIPPING=0 &PAYMENTREQUEST_0_SHIPPINGAMT=2.00 &PAYMENTREQUEST_0_SHIPDISCAMT=0.00 &L_PAYMENTREQUEST_0_NAME0=Item1 &L_PAYMENTREQUEST_0_QTY0=1 &L_PAYMENTREQUEST_0_AMT0=25.90 &L_PAYMENTREQUEST_0_NAME1=Discount &L_PAYMENTREQUEST_0_QTY1=1 &L_PAYMENTREQUEST_0_AMT1=-25.90 &PAYMENTREQUEST_0_ITEMAMT=0.00 &PAYMENTREQUEST_0_AMT=2.00 But I get "The totals of the cart item amounts do not match order

Paypal Express checkout + php cURL Execute payment not show payment notification on sandbox

僤鯓⒐⒋嵵緔 提交于 2019-12-06 13:09:43
i'm testing paypal integration, in a php demo test on my apache server with a vhost -> test.it/paypal. I use Express Checkout + Server-side REST (cURL). My js Add the PayPal button is: <script> var CREATE_PAYMENT_URL = 'http://test.it/paypal/create-payment.php'; var EXECUTE_PAYMENT_URL = 'http://test.it/paypal/execute-payment.php'; paypal.Button.render({ env: 'sandbox', // Or 'production', commit: true, // Show a 'Pay Now' button locale: 'it_IT', style: { size: 'small', color: 'blue', shape: 'pill', label: 'checkout' }, commit: true, // Show a 'Pay Now' button payment: function() { // Make a

Remove shipping address option in PayPal Express Checkout

為{幸葍}努か 提交于 2019-12-06 06:26:18
问题 I am using the JS script recommended by PayPal. It's working well, however it is showing a "Ship to" address of the buyers. I am trying to search the internet and found that https://api.sandbox.paypal.com/v1/payment-experience/web-profiles/ requested with "no_shipping": 1, can do the trick. But for that we need to make a curl request before the payment.create , so that we can pass it returned id in the function. Is this possible in JS? Or is there a much better and simpler way to remove it

PayPal Digital Goods Error on login

别来无恙 提交于 2019-12-06 04:29:09
I am using the following code to accept payments for digital goods: https://www.x.com/blogs/Nate/2011/01/07/digital-goods-with-express-checkout-in-php I have a sandbox account and I have used the API credentials from the sandbox account. Everything works fine until I press the "Pay with PayPal" button. At this point when I try to login to continue the simulated transaction I receive the following error: "We are unable to complete your request at this time. Please try again later. We apologize for the inconvenience." I have no idea whet I'm doing wrong, can somebody help? There are a number of

express checkout for recurring payments does not work for german payers

大兔子大兔子 提交于 2019-12-06 01:59:52
问题 I am currently developping a PayPal payment transaction with ExpressCheckout and RecurringPayments. Testing the software I get the following message after the ( german ) buyer logged in at paypal for confirming the payment: "Zurzeit können wir Ihre Anfrage leider nicht verarbeiten. Kehren Sie zu facilitator account's Test Store zurück und wählen sie eine andere Option aus." wich means "We cannot procceed the request. Please got back to the store an chose another option". A little bit googling

Paypal Express checkout showing old site instead of new

前提是你 提交于 2019-12-05 14:39:58
I am trying to setup Paypal express checkout for my website, and I have managed to get it to work, however I have noticed that on some websites you appear to get the new style of Paypal, but on mine I appear to be getting the old. New style that I want: The style that I'm getting: I want to be able to set one or more items as part of the invoice, as well as always having a payment fee and booking fee, as in the first picture above. When making the initial call to Paypal to get a token to setup the express checkout I am passing the following in the query string. USER: username, PWD: password,

PayPal express checkout integration with multiple buttons on one page

自作多情 提交于 2019-12-05 13:14:18
I currently have a list of items with a Paypal button associated with each of them. Each item will be purchased separately by clicking on its associated button. <ul> <li data-id="1">Item 1 <div class="paypal-button"></div></li> <li data-id="2">Item 2 <div class="paypal-button"></div></li> <li data-id="3">Item 3 <div class="paypal-button"></div></li> </ul> <script src="https://www.paypalobjects.com/api/checkout.js"></script> <script> paypal.Button.render({ // options }, '.paypal-button'); </script> Unfortunately, it seems that paypal.Button.render() will only render the first element that it

Paypal IPN not calling Issue

≡放荡痞女 提交于 2019-12-05 02:48:26
问题 I am having some problem regarding Paypal IPN not getting fired on one of my server. Below is the scenario. 1) I have two sites site A(old) is on server X and site B(new) on server Y.Both the sites having identical Paypal express checkout form submission and IPN code. 2) Site A is running smoothly with paypal express checkout form submission and IPN is get fired correctly. 3) But with Site B, though our form gets submitted correctly and payment is successful, IPN is not getting fired. More