Paypal Payments in Dirham using mobile sdk - paypal

How to make android application accept paypal payment in UAE dirham using mobile sdk?
I tried using
PayPalPayment payment = new PayPalPayment(new BigDecimal(
Float.parseFloat(totalPrice)), "AED",
"CheckOut",
PayPalPayment.PAYMENT_INTENT_SALE);
It gives error

The mobile sdks are based on the REST APIs. Refer to https://developer.paypal.com/docs/integration/direct/rest_api_payment_country_currency_support/ for the currencies and countries supported. It does not seem like AED is a supported one unfortunately.

Related

ionic - paypal - currency not supported for card type

I'm building an ionic mobile app and I need to include PayPal as the payment gateway in the app. So I installed the ionic PayPal plugging (https://ionicframework.com/docs/native/paypal) and implement it. Pay with Paypal is working, But pay with credit/debit card is not working. When I enter my card details it shows the following error. (Items in the app cost in HUF - Hungarian)
That error message is somewhat misleading. Yes HUF was never supported, but you're actually using a very old plugin with a credit card integration that is now not supported at all, for any currency.
So not only should you disable that credit card integration for any currency, since it will not work, but you also shouldn't use that 5-year-old plugin.
If you need a native SDK for PayPal payments, the only method currently supported by PayPal is the Braintree SDK: https://developer.paypal.com/docs/archive/checkout/how-to/braintree-integration/

Braintree for iOS apps with paypal integration

Is the a braintree iOS SDK for native iOS app payment system integration that uses paypal payments too?
I cannot seem to find one. Is there a third party sample code?
Or is there a guide on how to do it?
I work at Braintree. If you have more questions, please reach out to our support team.
Yes, the Braintree iOS SDK includes PayPal support:
PayPal
Braintree offers a few options when accepting PayPal payments. First,
you'll need to choose whether you would like to use our Drop-In UI or
a custom integration.
Vault vs. Checkout
Next, you can choose between our Vault and Checkout flows. Below is a
comparison of the two options:
Vault Compatibility: iOS, Android, and web
Checkout Compatibility: Web only

Paypal Pre-approved Payments via Mobile Web UI?

As of now, I'm able to link users to the desktop version of the payment preapproval page, where users can sign in or enter their payment information. Is there a mobile web version available?
here: https://developer.paypal.com/webapps/developer/docs/classic/mobile/gs_MPL/
"Because the Mobile Payment Libraries are build on PayPal's Adaptive Payments, you can accomplish many of the operations provided by that API with the MPL. For example, you can create mobile apps that provide for pre-approved and chained payments."

Alternative to paypal MEC library

In my company we are creating a platform (iOS, Android, Web) that accepts payments via PayPal.
For this we are implementat Express checkout of paypal.
Basically, the solution was implemented until Apple reject the application due to libPaypalEC.a (this uses the UID of the device.)
Once the web version and android run smoothly, is there any quick solution for iOS without the use of the library and any change in the API?
For example, is there any way to get the "drt" without being through the use of the library?
PayPal SDK and MPL are not a solution to my problem, since I find myself in a non U.S. territory and require payment by credit card.
Thanks in advance
The only solution provided by PayPal was to use the Express Checkout instead of the MEC. T only change is that the token(dtr) is sen t null. This library was discontinued by them because of the new Paypal´s SDK for mobile platforms.

Is checkout with Credit card details possible through iPhone and Android Library?

Following is my understanding:
With the help of iPhone and Android library, we can pay the amount from one Pay pal account to another account.
This is my doubt:
Then how can let the user pay the amount using his credit card details in an iPhone or Android App? Are you providing any Web service APIs to achieve it?
If this is not possible, how can we let the user pay using his/her credit card?
I got the solution for this problem from the PayPal guys.
This is what the PayPal answered me:
Currently direct credit card payments are not allowed through any of PayPal's mobile products, users will need to use a PayPal account to checkout using the libraries.
To clarify, PayPal have two main
mobile products at the moment, Mobile
Express Checkout (Web) Mobile Payments
Library (in App). Both of these do not
allow for the user to checkout using
just a credit card yet. They will need
a PayPal account.
I would not recommend using the
standard web checkout flow for mobile
checkout as the user interface is not
optimized for a mobile
browser/webView.
For the complete thread, visit this link:
https://www.x.com/message/193751#193751