paypal

I need to create a custom postage price depending on quantity ordered for Paypal button

有些话、适合烂在心里 提交于 2019-12-25 00:43:25
问题 For example item price is £6.78 postage and packaging should be: Single copy: £1.50 2-3 copies £3.00 4-6 copies: £4.00 7-8 copies: £5.00 9 copies: £6.00 10 or more free Any idea how I can do this? The current code for the item is: <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="CUWB7BQEL337J"> <input type="image" src="https://www.paypalobjects.com/en_GB/i

Paypal Transaction ID

谁说胖子不能爱 提交于 2019-12-25 00:33:54
问题 I am using PayPal for payments in my Ionic application. I'm getting a transaction code like: PAY-0US81985GW1191216KOY7OXA, But in the transaction history on the PayPal website, the transaction code looks like: 3CC23774TG6379823. With some research, I found this link as a solution: https://developer.paypal.com/docs/api/payments/v1/#payment_get But I have no idea how to use this in my Ionic project. Has anyone ever experienced this? Do you know how to help me? Thank you 回答1: The PAY-xxx ID is

PHP Check Paypal Payment and then execute something

大憨熊 提交于 2019-12-25 00:29:48
问题 today i would ask you if someone know how Check if the user has really payed and then if he has really payed execute some mssql+script for be precise if he has really payed i would execute this query via php: (UPDATE members SET Premium='1' WHERE membername="'.$membername.'"") 回答1: You can check this PHP example from paypal site: https://cms.paypal.com/cms_content/US/en_US/files/developer/IPN_PHP_41.txt if (strcmp ($res, "VERIFIED") == 0) { // Your code } 回答2: You can implement this using

Exception Using PayPal-PHP-SDK [Http response code 400]

删除回忆录丶 提交于 2019-12-24 23:34:30
问题 I'm following a tutorial about how to use PayPal-PHP-SDK and i got stuck in somewhere with this error in the console: [Sun Mar 08 16:11:21.729977 2015] [:error] [pid 4484:tid 1760] [client ::1:4308] PHP Fatal error: Uncaught exception 'PayPal\\Exception\\PayPalConnectionException' with message 'Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment.' in C:\\UniServerZ\\www\\PayPal\\vendor\\paypal\\rest-api-sdk-php\\lib\\PayPal\\Core\\PayPalHttpConnection

Why paypal Redirect is executed after Page_Load?

守給你的承諾、 提交于 2019-12-24 22:14:35
问题 Oh dear paypal, I'd like to know why the "return redirect Url" page won't load if I call Response.AppendHeader . You see, I'm trying to make a file download automatically after the user has payed on paypal's page so I put the following code on my Page_Load If Not IsNothing(Request.QueryString("paymentId")) Then Dim paypalUtils As New PayPalUtils paypalUtils.ProcessPayPalResponse(Request.QueryString("paymentId").ToString(), Request.QueryString("PayerID").ToString()) TransmitFile() End If My

List of Paypal payments with personal Account

ぃ、小莉子 提交于 2019-12-24 21:15:57
问题 I have a Paypal Account Type: Personal I don't want to be Business account or anything else. Is there a way to get a list of last payments ? Maybe there is some API for personal account ? The only way I see to get what I want, is create a php script which will imitate browser, login to web, go to History and get the last payments. Thanks 回答1: You can only get access to the APIs using a premier or business account. As for a PHP script - you can certainly get it to work. However, if you do not

'PPConnectionException' exception is thrown in PayPal adaptive Payment 'Pay' request

孤街醉人 提交于 2019-12-24 20:18:18
问题 I have integrated PayPal adaptive payments in my one of the WordPress plugin. My functionality is fully ready and was working well till yesterday. However, when I started with a final testing, I got stuck with this exception - PPConnectionException Object ( [url:PPConnectionException:private] => https://svcs.sandbox.paypal.com/AdaptivePayments/Pay [data:PPConnectionException:private] => [message:protected] => error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number ........) //I am

Magento - PayPal Plus and Zero Subtotal Checkout

左心房为你撑大大i 提交于 2019-12-24 20:12:21
问题 I'm having problems with Zero Subtotal checkout and Paypal Plus. I have some products with Zero cost, and when I try to buy it the button "Place Order" is disabled. But when I disable Paypal Plus, it works normally. I'm using Magento 2.1.5 and this module: https://github.com/i-ways/magento2-paypal-plus Someone already suffered with this issue? 回答1: Amount is always requested to more than zero. You can set 0.01 (or the equivalent minimum amount for other currency) if you want to show your

error trying to make sandbox paypal to work with rails?

孤人 提交于 2019-12-24 19:25:59
问题 I am having problems integrating paypal payment gateway with rails. I will explain below the steps i did. I first went to developer.paypal.com I created two sandbox accounts one for buyer and one for business account. I changed business account to Business-Pro I then installed activemerchant gem in rails. In config/environments/development.rb i pasted the following chunk config.after_initialize do ActiveMerchant::Billing::Base.mode = :test paypal_options = { login: "aGthYkgkYXVA_api1.gmail

Only one account for one person - how to restrict?

﹥>﹥吖頭↗ 提交于 2019-12-24 18:50:44
问题 I would like to limit the possibility of creating more than one account in a web application by a single person. How to do this? If you know how, you can directly answer this question. If you don't know or you don't understand the question, please read below where I try to give more information. The problem can be solved by assigning a unique persistent ID to each person registering in the application. If the person wants to set up another account, it won't be possible because he/she will