express-checkout

Paypal Express Checkout window keeps loading

南楼画角 提交于 2021-01-28 05:20:48
问题 I'm trying to integrate the PayPal button to execute a simple payment to a new Paypal account I just created. Following the guide I rendered the button, but when I click on it and the new window shows up, nothing happens. The "loading lock" keeps spinning, but no errors are shown in the new window, nor in my page. No calls to "onError()" function are executed. I don't know what's wrong! I followed the instruction of the guide! Navigating other websites I saw that in the new window, while

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

放肆的年华 提交于 2020-01-13 19:14:26
问题 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:

How can I change shipping amount before execute payment using PayPal restAPI

微笑、不失礼 提交于 2020-01-11 11:49:08
问题 I try to migrate our old express checkout process based on PayPal classic API to new RestAPI , but a question has arisen during the new process: How can I change shipping amount after create a payment and just before execute payment using PayPal restAPI? Request after create payment: { "intent": "sale", "payer": { "payment_method": "paypal" }, "transactions": [ { "amount": { "currency": "AUD", "total": "100", "details": { "shipping": "10", "subtotal": "75", "tax": "15" } }, "description":

php paypal express checkout problem

China☆狼群 提交于 2020-01-11 02:29:06
问题 I'm trying to integrate paypal express checkout on my website. I was trying to check using sandbox. When I submit data from my site token is generated with no error but when redirected to paypal it's not showing payment amount. btw I'm using the code from paypal express checkout wizard. It will be helpful if some one points me to correct direction. require_once ("paypalfunctions.php"); $paymentAmount = 15; $currencyCodeType = "GBP"; $paymentType = "Sale"; $returnURL = "http://www.mysite.com

receive more response data in ci-merchant library codeigniter

喜欢而已 提交于 2020-01-05 12:02:57
问题 How can I receive more response data in the ci-merchant codeigniter library ? I am using the Paypal Express checkout payment method. And I am passing the following parameters: $params = array( 'amount' => 100.00, 'currency' => 'USD', 'return_url' => my return url, 'cancel_url' => my cancel url ); Right now am getting just the following response Merchant_paypal_api_response Object ( [_status:protected] => complete [_message:protected] => [_reference:protected] => 1K088384XU0947545 [_data

receive more response data in ci-merchant library codeigniter

流过昼夜 提交于 2020-01-05 12:02:27
问题 How can I receive more response data in the ci-merchant codeigniter library ? I am using the Paypal Express checkout payment method. And I am passing the following parameters: $params = array( 'amount' => 100.00, 'currency' => 'USD', 'return_url' => my return url, 'cancel_url' => my cancel url ); Right now am getting just the following response Merchant_paypal_api_response Object ( [_status:protected] => complete [_message:protected] => [_reference:protected] => 1K088384XU0947545 [_data

PayPal Express Checkout API - Is there a way to process both recurring payment in one session using method CreateRecurringPaymentsProfile?

一曲冷凌霜 提交于 2019-12-29 08:10:10
问题 I tried to process two recurring payment in one session using method CreateRecurringPaymentsProfile. Here is the chronology of my actions: First I set method SetExpressCheckout: 'METHOD' => 'SetExpressCheckout', 'RETURNURL' => $this->paypalreturnurl, 'CANCELURL' => $this->paypalcancelurl, 'PAYMENTREQUEST_0_CURRENCYCODE' => $this->paypalcurrencycode, 'PAYMENTREQUEST_0_PAYMENTACTION'=> 'SALE', 'L_BILLINGTYPE0' => 'RecurringPayments', 'L_BILLINGAGREEMENTDESCRIPTION0'=> 'Tier 1 + Management

paypal in-context checkout reverts back to classic express checkout

折月煮酒 提交于 2019-12-23 03:09:33
问题 I've been trying to switch over our classic express checkout to in-context express checkout. As instructed, I've switched the URL to https://www.paypal.com/checkoutnow/ This is the HTML snippet in the cart: <div class="col-md-6"> <a id="paypalcheckout" href="paypal_checkout/PostToPaypal.cfm?orderidentifier=XXXX"> <img class="paypal-button-hidden" src="/img/paypal.png" alt="" class="img-responsive center-block"/> </a> </div> <script> window.paypalCheckoutReady = function() { paypal.checkout

PayPal express checkout integration with multiple buttons on one page

左心房为你撑大大i 提交于 2019-12-22 08:31:58
问题 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'); <

Paypal API: The totals of the cart item amounts do not match order amounts

对着背影说爱祢 提交于 2019-12-18 13:06:01
问题 I am working with the paypal express checkout API and am having issues with setting the quantity. Below are my URI parameters: $params = array( 'METHOD' => 'SetExpressCheckout', 'PAYMENTREQUEST_0_SHIPPINGAMT' => '0', 'PAYMENTREQUEST_0_TAXAMT' => '0', 'PAYMENTREQUEST_0_HANDLINGAMT' => '0', 'PAYMENTREQUEST_0_AMT' => "50.00", 'RETURNURL' => $this->_returnUri, 'CANCELURL' => $this->_cancelUri, 'HDRIMG' => $this->_logoUri, 'PAYMENTREQUEST_0_CURRENCYCODE' => 'GBP', 'L_PAYMENTREQUEST_0_DESC0' =>