paypal-sandbox

Paypal payment : How to get success request when loading the paypal in webview

北城余情 提交于 2019-12-05 10:07:32
问题 Edit: After paypal login, I could successfully complete transaction.But I need to match the successUrl in paypal to verify both url is same and then display successful toast message. But I am not getting success url from payment.So I can't match it.Below I have posted the relevant code: WebActivity.java: public class PaypalWebActivity extends Activity { private WebView webView; String payUrlStr; ProgressDialog dialog; String successUrl; @Override protected void onCreate(Bundle

Can not pay in paypal sandbox using a test Test Account

蹲街弑〆低调 提交于 2019-12-05 09:11:40
问题 Since paypal updated their sandbox, I encounter a lot of problems. I can not simulate a payment using sandbox. Whenever i use an "old test account", created before the update, this error message comes out This Sandbox email address is not available. Please enter another email address. I have created a new account and unfortunately it also doesn't work. Same error message comes out. Below is the details that inputted to create an account. email: "test@test.com" payment bal. : 5000 bank

paypal sandbox not working [duplicate]

强颜欢笑 提交于 2019-12-05 08:53:35
This question already has an answer here: Please login to use the PayPal sandbox feature 5 answers I am using the PayPal sandbox to make test payments. It was working fine since last 3-4 months. But I see that they are making changes in sandbox design, ways to manage test email accounts, etc. They have disabled my actual sandbox account and asks me to login using real PayPal account. So I created a new sandbox ( https://developer.paypal.com/ ) account using my PayPal account. I imported test emails from my old sandbox account, and started making test payments. But it didn't work. I deleted all

How to verify successful payment of paypal

孤者浪人 提交于 2019-12-05 08:01:12
I am trying to get the transaction info of paypal transaction that is passed to our website when customer is redirected to our website. I turned auto-return and pdt in my sandbox paypal account setting. I posted a sample transaction to paypal and it replied to my return url with tx appended. As found in some docs I did a curl req to https://www.paypal.com/cgi-bin/webscr and tried to get information by passing the req values as follows: a.) tx = same one received from paypal b.) at = pdt code given by paypal while turning pdt on c.) cmd= "_notify-synch" but in result i get String(0) "". What I

Payment Api using class

别说谁变了你拦得住时间么 提交于 2019-12-05 07:28:21
问题 I have used a normal class as an api and in that i am passing all the parameters to paypal and i am getting success. Only thing i am missing is that amount is not being deducted from the sandbox account. This is the code which i am using. Any help is appreciated. Thanks in advance. $paypalDoDirect = new PaypalDoDirect(); /**passing all parameters to $paypalDoDirect $response= $paypalDoDirect->MakePayment(); class PaypalDoDirect { /*Declared all fields */ function MakePayment() { $API_Endpoint

paypal adaptive payments in sandbox fails with error “The receiver is based in a country that isn't enabled to receive payments”

*爱你&永不变心* 提交于 2019-12-05 05:47:54
问题 I am using paypal adaptive payments for auto recharge. Earlier it used to work fine in sandbox mode. My sandbox test account is in Australia, now adaptive payments fails with the error message "The receiver is based in a country that isn't enabled to receive payments". Is paypal adaptive payments no longer supported in Australia? Thanks. 回答1: Seems like they (PP) switched all the sandbox accounts on US so you need now to update all the test accounts emails back to your country. This is from

New PayPal Sandbox, Where to input IPN url in sandbox “Test Site” UI

家住魔仙堡 提交于 2019-12-05 05:47:47
In another post ( closed as not a real question ) the OP did a poor job of asking the question I would like very much to know the answer to. Can you or can you NOT specify an IPN url within a "Test Site" under the New Sandbox UI . In the old Sandbox (exactly as you would for a live account) you simply entered the URL to the desired IPN listener under " Profile / My Selling Tools ". In the new Sandbox however, there exist no such sub menus under the Profile menu and I can't find any mention of IPN in any way shape or form, anywhere within the NEW Sandbox " Test Site " environment. Meanwhile,

How to send multiple items to PayPal

只愿长相守 提交于 2019-12-05 04:43:47
I want to send multiple item names and item prices to PayPal but I am unable to post my item name and price with below code can you please help me? <form method="post" name="cart" action="https://www.sandbox.paypal.com/cgi-bin/webscr"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="navive_1295939206_biz@gmail.com"> <input type="hidden" name="lc" value="US"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="button_subtype" value="services"> <input type="hidden" name="notify_url" value="http://newzonemedia.com/henry

Setting PayPal return URL to localhost

左心房为你撑大大i 提交于 2019-12-05 03:22:38
I'm trying to integrate Paypal and I'm using sandbox in the process. I follow the step of the accepted answer in the below question. Setting PayPal return URL and making it auto return? But when I try to enter the URL, Paypal return the below error. We were unable to validate the URL you have entered. Please check your entry and try again. URL I'm trying to set is http://localhost:8888/paypal/success.php . Also I tried sending the return url with the form as below. <input type="hidden" name="return" value="http://localhost:8888/paypal/success.php"> Both methods does not work for me. Full Form

PAYMENT_CREATION_ERROR in PayPal iOS & Android SDK

坚强是说给别人听的谎言 提交于 2019-12-05 02:25:55
问题 Today I have a problem with PayPal checkout in my iOS application. After user login, I receive an error: PayPal SDK: Request has failed with error: PAYMENT_CREATION_ERROR - There was a problem setting up this payment. Please visit the PayPal website to check your account. (422) | PayPal Debug-ID: caf4fb9d7f20c [sandbox, PayPal iOS SDK 2.12.2] The buyer account has enough balance and I think is ok. Is there a way to find a reason for this error? 回答1: If any one still have this issue, check