paypal

Tell PayPal to automatically process the monthly payment

坚强是说给别人听的谎言 提交于 2019-12-20 07:27:34
问题 ref: https://stackoverflow.com/a/25730860/2735734 How to Tell PayPal to automatically process the monthly payment? UPDATE 1 here is the PayPal Reponses: CreateAgreement result: array ( 'name' => 'my name', 'description' => 'my description', 'plan' => array ( 'id' => 'P-95307423V8719480UI4T4SGG', 'state' => 'ACTIVE', 'name' => 'title here', 'description' => 'description here', 'type' => 'INFINITE', 'payment_definitions' => array ( 0 => array ( 'id' => 'PD-140035022V340531AI4T4SGG', 'name' =>

How to set mixture of recurring and one time payment in Paypal

﹥>﹥吖頭↗ 提交于 2019-12-20 07:26:46
问题 I'm using Paypal REST API to charge my subscriptions. My transaction includes a mixture of one-time purchase and recurring payment. One time purchase will charge a user amount X, and recurring payment should create recurring profile which will annually charge a user with amount Y. Here is what I have. First I call SetExpressCheckoutPayment with the following parameters: $orderParams = array( 'PAYMENTREQUEST_0_AMT' => "10", 'PAYMENTREQUEST_0_CURRENCYCODE' => 'GBP', 'PAYMENTREQUEST_0_ITEMAMT' =

Initiating a firebase-function with PayPal

只谈情不闲聊 提交于 2019-12-20 05:58:38
问题 I am having a problem passing my data from my firebase-function to PayPal. When I run the following code, the logs in firebase-functions receives it but it is not getting to PayPal: let url = NSURL(string: "https://us-central1-ryyde-sj.cloudfunctions.net/payout") let postParams: [String : Any] = ["uid": FIRAuth.auth()?.currentUser?.uid as Any, "email": txtPayoutEmail.text as Any] let request = NSMutableURLRequest(url: url! as URL) request.httpMethod = "POST" request.addValue("application/json

Printing a JS variable in a value=“” attribute

时光总嘲笑我的痴心妄想 提交于 2019-12-20 05:54:46
问题 I'm trying to implement a Paypal button with a dynamic value. When I enter, for example, value="300.00", the button works fine. However, if I do it my way, the button doesn't work properly. The variable price is the JS variable that holds the information I need to put into the Paypal button. Here's the line of code at fault: <input type="hidden" name="amount" value="<script>document.write(price)</script>.00"> 回答1: In javascript: document.write('<input type="hidden" name="amount" value="' +

paypal sandbox merchant account error

独自空忆成欢 提交于 2019-12-20 05:46:16
问题 I have a website that I'm trying to hook paypal up to with a php script. php builds the query string and then submits to https://www.paypal.com/cgi-bin/webscr with the query string attached. I can verify that this works fine. I haven't processed a payment but it directs to PayPal with the correct quantities and prices, etc. However when I change to https://www.sandbox.paypal.com/cgi-bin/webscr I get an error when I try to process that says there was a problem with the merchants PayPal account

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

↘锁芯ラ 提交于 2019-12-20 05:23:11
问题 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 provides some code which inserts a Buy Now button on any webpage :) perfect, just what i wanted! The only problem I am having is at the moment the button is displayed on my Add Listing form (which is again part of the component) but it can easily be

Please login to use the PayPal Sandbox features while using paypal sandbox

时光总嘲笑我的痴心妄想 提交于 2019-12-20 05:23:05
问题 I'm using PayPal sandbox for the payment gateway, this is first time I'm trying to inbuild payment gateway to my site. I simply used the form tag as follows <form target="paypal" method="post" action="http://www.sandbox.paypal.com/cgi-bin/webscr"> With other details, I tried both http and https here, but it is sending me to a page where it ask me to login to PayPal with following message: Please login to use the PayPal Sandbox features. I don't have an idea what to do now. Am I doing

Paypal SetExpressCheckout Soap

元气小坏坏 提交于 2019-12-20 05:03:50
问题 when i try to setExpressCheckout, i get ack = success but not token return. the version of paypal api is 87.0 Here the wsdl link : https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl here to command i use in axis2-1.6.1 to generate java code -uri https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsd -p com.paypal.soap here the link to the java code that generated using axis2 https://docs.google.com/open?id=0B97cB4uxjmztbGgxRER6VjBWcWc here the code for SetExpressCheckout PaymentDetailsType

Does PayPal Standard automatically retry to charge the client if a payment fails?

与世无争的帅哥 提交于 2019-12-20 03:52:24
问题 I have to integrate PayPal Standard Payments in my Saas for a monthly subscription. I found a few tips in the PayPal documentation about using API but it's not my case. If after a few months a payment fails because the client has no money, does it automatically retry to charge the client in the next days or should I set a custom field? 回答1: There is a variable sra when set to 1 , PaYPal will try to collect the payment two more times before canceling the subscription. More information on

Paypal IPN Getting blank confirmation ( should be “VERIFIED” or “INVALID” )

ⅰ亾dé卋堺 提交于 2019-12-20 02:18:48
问题 I'm just testing the Paypal IPN here. I've got it set up with Sandbox. I'm sending it fake IPN requests, and it's receiving the IPN. Then, I'm getting it to return the information for verification, and I'm writing the response to a text file so I can check it out on my own. The IPN is firing fine, and the response is getting written to the text file. There's just one problem... The response is blank. The response is supposed to be received as "VERIFIED" or "INVALID", and these are the only 2