Using Paypal Express Checkout in appcelerator titanium - php

I am developing a mobile commerce application in Appcelerator Titanium and using Paypal as my payment gateway. I am using the Paypal's Express Checkout mechanism and doing all the Paypal interaction stuff in php scripts and calling those scripts through xhr object. My php scripts are working perfectly in the browser and payment is done displaying the thank you message, BUT when I try to call the php scripts from the app it redirects to paypal sandbox page displaying the message "Please login to use sandbox features" and nothing else.I am stuck here and can't do any advancement. It is to be noted that I am already logged in to sandbox through my sandbox account? I've spent so much time on searching this problem but couldn't get it working. Please help me what I am doing wrong here? I really need your help. Any help in this regard will be appreciated. Thanks in advance.

Have you tried using the PayPal module on the Appcelerator Marketplace? It's much easier to integrate and it's free:
https://marketplace.appcelerator.com/apps/780?693288467

Related

Paypal Payments Pro Sandbox error We’re sorry, we can’t complete your payment now. Please try again later

I am integrating Paypal using my Sandbox account.
My integration is working when using my PayPal account but when using sandbox, it showed below error:
When form is submit so that time this error is occurs.
Error: Error Processing Payment
We’re sorry, we can’t complete your payment now. Please try again later.
I have already tried to make simple html code posted but sandbox is not working. So what's the problem? Please send me any idea.
My sandbox paypal id is a business account.
So please tell me what is wrong?
It might be of your browser cookies or cache issue, clear-up everything and for better results try using the upgraded version of Chrome or FF.
Cheers!

I can not make a payment using a test sandbox account

My web-based aplication receive paypal IPN, and I never had a problem with testing using the sandbox. Unfortunately, most recently at login to the test account to pay the test payment page becomes blank and nothing happens, or I can not choose the "pay with my paypal account" option. I was looking for answers and found to clean your cookies files but it did not help. Thank you for any advice.

How to correctly integrate PayPal's API with paypal payments pro?

I just finished building a donation form on a client's website, which processes payments through PayPal's classic api. It works fine in Sandbox mode, but I'm getting a 10501 - This transaction cannot be processed due to an invalid merchant configuration. error.
I know that this error is caused by PayPal payments pro not being enabled on the account the API is trying to access. That is were I'm somewhat confused. The account I'm connecting this donation form to is subscribed to Paypal Payments Pro.
When I first encountered the 10501 error, I thought that PayPal may require myself to log in and enable the Payments Pro service. I found a "get started" button under the payments pro section of the site, but when I click it, I'm taken to a page which only provides a link to the API documentation.
I've never worked with PayPal's API before or launched a live paypal application. I'm hoping someone can point me in the right direction.
NOTES
Just to make it clear, the PHP donation form DOES work in PayPal's sandbox mode
I have acquired the correct API keys from the live account and I know for a fact that I did not mix up the live credentials with the sandbox.
this donation form is on a website, not an mobile app (do I still need to register it as a paypal app?)
Thanks
A lot of times what happens is that PayPal enables the Virtual Terminal for you, but not the DoDirectPayment API. I would just give them a call and let them know you have Pro, but your DDP calls are resulting in this error, and they can probably get it enabled for you.
It's also possible that your version of Pro requires you to use the PayFlow API instead of DoDirectPayment. That's something they can tell you when you call them.

Paypal plugin integration issue

I am using spinin/phonegap-paypal plugin for my phonegap android app. I downloaded the plugin, integrated with the mobile app, then tried using the payment on sandbox mode. I was able to do the payment till yesterday. But suddenly it has stopped working. From my app I am able to login to the Paypal account and go to the dashboard, but when I click on 'Send Payment' , I get an error- 'Payment Failed: System Error, Please try again later '. Can anyone please tell me what must be going wrong? Alteast can any one let me know what are the possible reasons for this to happen, so that I can check each of the points on code level.
Thanks in advance.

WePay payment gateway integration in PHP

I want to integrate WePay payment gateway for my site. I have download SDK from www.wepay.com and integrate it as the API tutorial given in WePay, i am done till account creation and API call, but stuck in checkout page. My checkout page goes blank, i am not able to find what the actual problem is?
If anybody is familiar with WePay payment gateway then, please help me out from this problem.
I would suggest you to start with trying to get a decent error message. You can check what they mean here. Use the developer tools like the network tab in Chrome, or Firebug to see how the requests are send and what errors are sending back. An API call is based on an HTTP request so is easy to monitor. It can be that the user is not good or the token or a million other things.

Categories