PayPal REST Api Brazilian BRL Currency - paypal

I'm developing a project to integrate PayPal. The project needs paypal method and credit card method. Paypal payment is working perfectly but, the credit card payment isn't.
When I try to create a credit card payment the remote server returns an error:
{"name":"VALIDATION_ERROR","details":[{"field":"transactions[0].amount.currency","issue":"Value is not supported at this time"}],"message":"Invalid request - see details","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#VALIDATION_ERROR","debug_id":"2c57c4279a510"}
If I change the currency to EUR or USD it works.
Amount amount = new Amount();
amount.total = "15.23";
//amount.currency = "EUR";
//amount.currency = "USD";
amount.currency = "BRL";
//amount.currency = PayPalManager.Currency;
amount.details = amountDetails;
After some research I found at PayPal Currencies Code that
(Brazilian Real) This currency is supported as a payment currency and a currency balance for in-country PayPal accounts only.
Question:
The classic API support credit card payment for BRL Currency ?
Is there any workaroud using the REST Api ?
If paypal definitely don't support it. Then why ?

Yes "BRL" is not supported yet for Credit card payments . You can check the credit card currency support for REST API at below link and it supports only USD/GBP/JPY/EUR/CAD at the moment
https://developer.paypal.com/webapps/developer/docs/integration/direct/rest_api_payment_country_currency_support/
For Classic API too , BRL is not supported as a credit card currency, check the below link :
https://developer.paypal.com/webapps/developer/docs/classic/api/currency_codes/

Related

PayPal Checkout: Cannot make USD payments within India

I have website with a PayPal merchant account in India.
If a user from my website tries to make a 1 USD payment through their PayPal account, it shows the error message "We’re sorry. This seller doesn’t accept payments in your currency. Please return to the seller and choose another way to pay."
If they pay via the Debit or Credit Card option, it says Things don't appear to be working right now.
However, I have both USD and INR currency support in my merchant account.
Can anyone tell me a solution to pay with USD currency from within India?
how can we handle this . can we handle both international and local payment in paypal ? is there any automatic currency detect available based on country ?
do any other payment gateway easier to handle both local and international currencies ?
There is no solution. For regulatory reasons, intraborder payments within India are only permitted to be in INR.
This is not a technical issue.

Paypal payment integration available in India

I am integrating Payment gateway to my Php based website
As I am from India****(non U.S.) so, for that I am trying to integrate payment from Paypal ,but do I need to integrate with brainTree payments ,
Is Paypal payment integration there for Indian product accepting
foreign clients payments
PayPal and braintree available in india, you can implement in your app or website,
difference is PayPal will redirect to PayPal page during payment and braintree not
If you have Indian PayPal business account and want to receive from cross border customer and site is PHP based which i assume is a custom website. Integrate PayPal Express Checkout server side / API method of Integration. Make sure that you pass respective currency codes for eg: Pass INR for your Indian Customers and crossborder currency like USD and equivlent amount to PayPal from your checkout page.

Issue integrating shopify store with 2checkout in case of non standard currency

I have a shopify store with default currency as PKR. I want to integrate 2checkout payment method for credit card transaction. But the problem is that 2checkout's standard currency is not PKR. Unless I change my store's default currency to USD integration does not work. Can there by a work around where the shopify checkout remains PKR but when the client selects credit card and proceeds to payment, the money is converted to USD and passed to 2checkout.
This is not posible as Shopify checkout works with default store's currency. Why don't you try with another payment gateway like PayPal?

PayPal Adaptive Payment using different currencies

I have web page where I need to use paypal adaptive payment. Now I have issue by testing in sandbox testing environment.
This is paypal respond failure:
<faultstring>The receiver test123#hotmail.com does not accept payments in this Currency</faultstring>
1 - Sender use test email paypal with USD currency
2 - Receiver use EUR currency
3 - Business side also use USD currencies.
Is it possible to make payment with different currencies with paypal adaptive payment, or is there anything more to do to enable this functionality ?
Send the currencyCode field in your PAY action. This will make the sender pay in that currency, however.
See the API Documentation for more information on the fields in the PAY action.

Paypal Express Checkout Subscription using Credit Card Payment

Question:
Is it possible to set up a subscription via Paypal api Express Checkout, so you can pay via Credit card and Paypal login. The Paypal login works no problem, but I can not get it to work with credit cards at the moment.
I have set the NVP SOLUTIONTYPE = Sole
I know you can set up a paypal subscription button, but the client want to sell a product (single payment or instalments) and add a subscription if user wants to sign up.
Many thanks for any help.
Llewellyn
UPDATE:
For anyone else who has this problem I got this response back from Paypal:
With subscriptions and Express Checkout, they will be PayPal only. Any time you specify a billing type in your SetExpressCheckout call, it turns it into a PayPal only transaction. The only way you would be able to set up a recurring payment via credit card (without a button) is to use the Website Payments Pro and Pro Recurring Payments. Website Payments Pro would allow the customer to enter their credit card directly on the website for one-time payments and also you can set it up to accept the credit card information for recurring payments. You wouldn't be able to turn that one-time payment into a recurring payment at a later time but if you wanted to set them both up at the start that's certainly possible. Also, you would be able to use reference transactions with your Pro payments as well.
Here is a link to the paypal manual for Paypal Pro.
Be warned, with Paypal Pro you can not accept American Express cards, if your paypal account is not American - which sadly is what I'm trying to do :(
No, this is not possible with Express Checkout Recurring Payments.
You must purchase Direct Payment Recurring Payments (an addon to Website Payments Pro) in order to set up profiles direct via credit card.
Note that Direct Payment Recurring Payments is only available in the US, UK and Canada at the moment.
This is not possible to make direct payment with Express Checkout,for this you have got create and account on paypal and please set only two options to working credit/debit card with Express Checkout.
solutiontype = Sole
landingpage = billing