paypal

Retrieving all Payment info from PayPal App

北战南征 提交于 2019-12-22 12:15:41
问题 I've recently been trying to write a Python script to automatically fetch all the payments made or received by a PayPal app, tied to a facilitator account. I'm using the client_id and client_secret from the app, and the official Python API library. import paypalrestsdk import logging logging.basicConfig(level=logging.INFO) paypalrestsdk.configure({ "mode": "sandbox", "client_id": CLIENT_ID, "client_secret": CLIENT_SECRET}) payment_history = paypalrestsdk.Payment.all({"count": 10}) print

Current PayPal Fees in web API?

不羁的心 提交于 2019-12-22 11:48:26
问题 Does anyone know if there is a publicly available PayPal resource that would allow me to calculate transaction fees in my Magento code? For example, if someone buys something for $1.00, I'd like to know if $0.15 of that is a PayPal fee. If there were a resource, like paypal.com/currentfees.xml or something that I could readout in my PHP code, I could that. Does it exist? I know there are different fees for different payment methods (e.g., AMEX) and fees could change at any time -> So it'd be

Unable to getting response from paypal IPN sandbox

末鹿安然 提交于 2019-12-22 10:34:36
问题 Few days ago suddenly it is stopped to receive IPN messages from paypal. I have written the code which are below $url_parsed=parse_url('https://www.sandbox.paypal.com/cgi-bin/webscr'); $post_string = ''; foreach ($_POST as $field=>$value) { $post_string .= $field.'='.urlencode(stripslashes($value)).'&'; } $post_string.="cmd=_notify-validate"; $fp = fsockopen($url_parsed['host'],"80",$err_num,$err_str,30); $myFile = "testpaypal.txt"; $fh = fopen($myFile, 'w') or die("can't open file");

Is there any FREE GUI Tool for generating Certificates for PayPal Encrypted Website Payments?

百般思念 提交于 2019-12-22 10:09:36
问题 I am looking for a FREE GUI Tool for generating certificates for PayPal Encrypted Website Payment Buttons. I am not comfortable at all using a command line tool like OpenSSL, rather, if a tool can encapsulate that OpenSSL and give me a nice GUI, I would love that. Is there anything like this ? I need for Widows 7 (x64) 回答1: Hopefully SpiceLogic 'PayPal Certificate Generator for Encrypted Website Payments' is the one you are looking for. https://www.spicelogic.com/Products/PayPal-Certificate

Testing recurring payments in PayPal sandbox

自作多情 提交于 2019-12-22 09:26:36
问题 I am in the paypal sanbox testing recurring payments. I have them set to monthly but is there a way to test the recurring payment coming back from paypal sooner than this.? Any help would be brilliant, Thanks 回答1: Just create a product or change an existing one and require daily recurring payments. The key should be BILLINGPERIOD and BILLINGFREQUENCY but please take a look at paypal PS: If this doesn't help than please show some code :) 来源: https://stackoverflow.com/questions/9499228/testing

HttpWebRequest: The request was aborted: Could not create SSL/TLS secure channel

孤者浪人 提交于 2019-12-22 09:05:11
问题 I'm making a asp.net web forms application which offers to pay using paypal. The application is supposed to make use of ssl. When i run my application all goes well until i select my button pay by paypal. When i press this button the following error occurs: The request was aborted: Could not create SSL/TLS secure channel. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it

HttpWebRequest: The request was aborted: Could not create SSL/TLS secure channel

陌路散爱 提交于 2019-12-22 09:05:07
问题 I'm making a asp.net web forms application which offers to pay using paypal. The application is supposed to make use of ssl. When i run my application all goes well until i select my button pay by paypal. When i press this button the following error occurs: The request was aborted: Could not create SSL/TLS secure channel. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it

Paypal IPN Simulator always returns INVALID despite postback being correct

纵然是瞬间 提交于 2019-12-22 08:38:06
问题 We're in the process of upgrading our IPN to use TLS and am consistently getting INVALID posted back when using the IPN Simulator Right as the request comes in to the listener, it is logged. Right before the data goes back to paypal, the URL and the data are logged. This info is below. There appears to be nothing wrong with the data. I've even used diffmerge to identify that there are no differences except cmd=_notify-validate& Is it just that the IPN Simulator doesn't ever return valid? The

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'); <

The receiver does not accept payments in this Currency

匆匆过客 提交于 2019-12-22 08:17:33
问题 I'm trying to execute chained payments in which the Primary recipient takes currency British Pounds (GBP). I am a secondary recipient on the transaction. My account is set up for USD, but does NOT block any currencies, as you can see: Here is the exact error message: The receiver [************] does not accept payments in this Currency Please help me understand why this is failing. Is there additional setup I need to do in my account? Do I have to explicitly allow GBP? I cannot change my