How to check transaction in MPL Paypal sandbox? - ios

I am working on application which required paypal integration.
I have successfully integrated MPL Paypal sdk.
While Testing I can see successfully transaction in notification under sandbox section.
But in the transaction bar I didn't get anything.
I don't understand the reason for this.
Is transaction is visible in paypal sandbox?
Any help will be appreciated.

As per new design of paypal website there is no dependency on developer website and sandbox website.
Once you get notification for your transcation in developer account go to the sandbox website.
https://www.sandbox.paypal.com/in/webapps/mpp/home
You can see each and every transaction there.

Because your transactions is not approved.
Notifycation list show the notifycation between paypal and your website, it just is a method of paypal that help your website receive status of transaction but it is not transaction.

Related

iOS PayPal MPL, how to refund payment?

Any help would be awesome. I'm using PayPal MPL to take payment from customer in iOS, but in certain scenario something goes wrong with the transaction and I need to issue a refund to the customer. I should have the Payment ID from the transaction. Is it possible to make a call using PayPal MPL to initiate the refund? Thanks in advance!
I see sample of this being achieved from a server-side, but wanting to see if this is possible doing it from the app instead.

Issues in PayPal live transaction via PayPal iOS SDK

I am developing an iOS application for iPad, version 7.x. We Need to perform PayPal transaction via the application. We included PayPal iOS SDK and referring their sample code to perform the transaction.
The sample code is placed here
There are enough funds in the customer account
Also, we have proper Client ID and secret key where funds needs to be transferred.
Both payee and payer have live accounts.
Transaction via their Sandbox account was sucess
Upon debugging the code, we found that we are able to create the payment. However, we get error while the payment is about to be approved.
Here are the error details
PayPal SDK: Request has failed with error: UNKNOWN_ERROR - System error (UNKNOWN_ERROR). Please try again later. (400) | PayPal Debug-ID: 3e8087cbf6bd1 [live, PayPal iOS SDK 2.1.2]
Is there any specific configuration which we need to include in our code for making live transaction?
Or is there specific configuration that needs to be done, in one of the accounts?
Or is there something missing the sample code provided by PayPal iOS SDK? Please advice.
The issue is that you are not using the correct ClientID. The client ID you are using is not associated with an active App from yoiur developer portal. To correct this, please go into the developer portal and either use a different client ID from a different 'active' app or create a new app.
We discussed this issue with PayPal Technical Support team, and here was the FIX:
We’ve found the issue is actually not with buyer account, some flag was not updated for merchant account "XXX#YYY.com” due to a bug which had in our system at the time it was created.
The fastest workaround to resolve this would be if you could please add another email to same account "XXX#YYY.com”.
Steps to add another email address to "XXX#YYY.com” :
Please login to the PayPal account.
Click on Profile—> Email address. Add another email address.
This solved our issue.

PayPal iOS SDK - Payment not available for apps with a Mobile SDK type of integration

I'm making and iPad app which uses the PayPal iOS SDK for payments. The problem is that I cannot Log in to PayPal from the app. I can only pay by credit card.
When you create an application on the PayPal developer page there is this message:
Important: Currently, Log in with PayPal is not available for apps with a Mobile SDK type of integration.
So my question are:
1.When will it be available?
2.If I publish my app now will it work when it will be available or I will need to update?
3.Why there is login button? It confuses the user. They have a button for login but they can only pay by credit card.
You can see the screen by clicking this link.
Thank you.
Josh from PayPal here. My apologies -- I think the messaging here could be improved.
Log In with PayPal is an oauth2 identity service, which you could use (say) to let users log in to your app using their PayPal account instead of having to create an account with your service.
The log in button you see in the PayPal Mobile SDKs, in contrast, is intended to let folks pay using their PayPal wallet, which does require that they log in. This does work, now, with a "Mobile SDK type of integration".
Hope that clears things up a bit.

PayPal Mobile Payments, Logins, MPL and MEP files for iOS and PhoneGap

I'm trying to set up a mobile PayPal payment for gift cards in an iPhone app using the PhoneGap PayPal plugin but I'm hitting a brick wall:
I can launch a payment and get to the PayPal screen on the simulator but no combination of logins will work for me. I have verified these logins minutes earlier on the PayPal sandbox test site. I am using the sandbox App-ID and ENV_SANDBOX. I am also logged into my sandbox account on my Mac while doing this.
The log in XCode shows the payment message with all the correct price, items details, etc.
I have whitelisted th PayPal sites and I don't get whitelist messages in the log.
On my iPhone 4 with iOS 5.0 I cannot get to the PayPal screen. The log shows the "FILE SYSTEM CHECK ERROR" message. I have read elsewhere that this is to do with jailbroken phones but my phone is definitely not jailbroken.
I have tried just about every combination of ideas I can find but to no avail. So I have to ask:
Does the sandbox work OK for PayPal mobile payments? Has anyone got a successful login sequence?
The PhoneGap plugin uses a PayPal library file ending in "MEP" but the latest PayPal library uses an "MPL" suffix (or MEC for express checkout). Some of the function calls appear different between MEP and MPL as well. Is this a difference in versions and the PhoneGap plugin is just running an old version library? If so, is this likely to be a cause of issues?
I've only tried the MECL library at the moment, because our customer already had a working server backend.
Dunno if this can be of any use to you, but you may have a shot at https://github.com/azicchetti/MECLPayPalPlugin
Unfortunately it doesn't use the MPL library and you need some backend code to complete the express checkout flow. It works, though.
Cheers.
Have you created your fake accounts inside your sandbox?
The login when trying to test paying on the sandbox is NOT your paypal.com login, and is NOT your developer.paypal.com login.
Additionally, you must FIRST log into developer.paypal.com before your fake sandbox accounts will be recognized by the sandbox... This might be hard to do on a mobile device.

Active merchant and Paypal API for recurring payment

I have few questions on paypal's recurring payments, I went trough the paypal documentation to find some answers but, it didn't help me much.
Here are the stuffs that I need to know, hope someone can help me on these.
I'm using paypal's standard payment account. So far I managed to create recurring payments with paypal by posting NVP's to paypal from merchant website to paypal.
Now I need to show recurring payment profiles on merchant web site. So that customers can cancel, modify recurring payments from merchant website without redirecting to paypal.Is this possible?
Think I should use paypal's SOAP API for this as I can't get the job done with NVP API. So I installed active merchant as described in this post. But I always get an error
This transaction is invalid. Please
return to the recipient's website to
complete your transaction using their
regular checkout flow.
from paypal and it never send me the token back.
Also I got this on my log
Security header is not
valid
Is it because I use sandbox API credentials or is it because I can't use paypal's standard account with SOAP API?
Usually the "security header is not valid" response comes from using sandbox credentials in the live environment or vice-versa. AM will use the sandbox when your Rails app is in development mode, so be sure you are using the right set of credentials.
When I was integrating PayPal's recurring payment profiles into the SaaS Rails Kit (using ActiveMerchant) I ended up just canceling a user's current profile and creating a new one when they wanted to change their subscription.

Resources