paypal-sandbox

Newtonsoft.Json Assembly Conflict

大憨熊 提交于 2019-11-27 03:42:59
I use Netonsoft.Json in my project. It works fine until I start integrating Paypal SDK in my Project. My code is as below. String AccessToken = new PayPal.OAuthTokenCredential("", "").GetAccessToken(); ---->>>> This Line Throwing An Error PayPal.Api.Payments.Address add = new PayPal.Api.Payments.Address(); add.city = TextBoxCity.Text; add.line1 = TextBoxAddress.Text; add.phone = TextBoxPhoneNumber.Text; add.postal_code = TextBoxZipcode.Text; add.state = TextBoxState.Text; PayPal.Api.Payments.CreditCard cc = new PayPal.Api.Payments.CreditCard(); cc.number = TextBoxCreditCardNumber.Text; cc

Disable shipping address option in PayPal Express Checkout

一曲冷凌霜 提交于 2019-11-27 02:33:24
问题 Working with the PayPal API and using the Name-Value Pair Interface PHP source codes from SDKs and Downloads: Simplify Integrations with Downloads and SDKs. My question is similar to "Removing (or prefilling) the address details for PayPal Express Checkout" but I don't want shipping cost/address or anything related about shipping at all. I keep all shipping details on my system (even sometimes shipping doesn't even apply and there is no charge for it) and I just want user to pay through

Paypal sandbox IPN return INVALID

自古美人都是妖i 提交于 2019-11-27 02:27:28
问题 I am trying IPN callback, using servlet. The code I am using is provided by paypal for verifying the ipn data. But every time i getting a INVALID response. Here is the code: Enumeration en = req.getParameterNames(); String str = "cmd=_notify-validate"; while (en.hasMoreElements()) { String paramName = (String) en.nextElement(); String paramValue = req.getParameter(paramName); //str = str + "&" + paramName + "=" + URLEncoder.encode(paramValue,"UTF-8"); // for UTF-8 i set the encode format in

Testing Paypal subscription IPN

末鹿安然 提交于 2019-11-27 00:10:45
问题 I'd like to test paypal subscription IPNs, both the ones received when a subscription is created, and the ones sent later with the next payment (such as monthly if the subscription is $x per month). However I'd prefer not to wait a month or a day to receive the second IPN. Is there a way to have an IPN sent quicker, such as hourly, using paypal or their sandbox? On the documentation it says you can only specify years, months, days, and weeks as the subscription period. 回答1: It used to be that

Create Paypal Sandbox merchant/seller account

大兔子大兔子 提交于 2019-11-26 23:12:25
i saw question for creating paypal seller account . but when i visited https://developer.paypal.com Dashboard > Sandbox> Accounts > I can not see "Create account" button. seems the site changed the configuration options for creating sandbox account. please guide me how to set up merchant sandbox account sorry to ask you the question but are you logged ? I just verifyed and i can see the button... 来源: https://stackoverflow.com/questions/36887028/create-paypal-sandbox-merchant-seller-account

Paypal SandBox IPN always returns INVALID

你说的曾经没有我的故事 提交于 2019-11-26 18:22:21
问题 As mentioned in one of the comments in an answer below, I tried following this tutorial. So now I have the following: The ipn.php file: <?php $ipn_post_data = $_POST; $url = 'https://www.sandbox.paypal.com/cgi-bin/webscr'; // Set up request to PayPal $request = curl_init(); curl_setopt_array($request, array ( CURLOPT_URL => $url, CURLOPT_POST => TRUE, CURLOPT_POSTFIELDS => http_build_query(array('cmd' => '_notify-validate') + $ipn_post_data), CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_HEADER =>

Why is DoExpressCheckoutPayment required for Paypal?

别等时光非礼了梦想. 提交于 2019-11-26 17:59:00
问题 I am trying to build a very simple paypal-backed shopping cart so users can purchase multiple items. I want paypal to handle all the payment details. I don't even want an order confirmation. I will manually check for order confirmation on paypal. At first I wanted to use "Website Payments Standard" because it seemed easy to create a form that will post to paypal and let paypal handle it from there. But no, this did not work because the "Website Payments Standard" buttons/form do not support

Please login to use the PayPal sandbox feature

时光怂恿深爱的人放手 提交于 2019-11-26 14:36:25
问题 With the recent revamp of the PayPal developer site, I have encountered many problems trying to test my site with PayPal integration. Issue 1: I am not able to check out from out site which it should bring me to sandbox.paypal.com, it return me the common error of "Please login to use the PayPal sandbox feature". I have confirmed that I am logged in to the developer site at developer.paypal.com. Issue 2: Under Applications > Sandbox accounts, in one of the account, I am redirected to the live

Paypal REST API Adaptive / Multiple Payments (change payee)

不羁岁月 提交于 2019-11-26 09:39:45
问题 I\'ve just started looking at Paypal\'s REST api. One thing I can\'t seem to see is a feature paypal call Adaptive Payments. This allows me to register my app with my developer account, but not be involved in the actual payments. e.g. my app allows my users to accept payment for their services, which they sell through my app. I have been through Paypals REST API documents. I have worked out how to complete a payment, but all the transactions get sent through to my developer paypal account. I