I know this is a very generic question but my case is different. Please read it completely.
While configuring PayPal with my Indian currency based Magento Store I am getting below error.
PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details). Internal Error (#10001: Transaction failed due to internal error).
I have tried all solutions available at Magento paypal currency error
Base Currency in my store is - Indian Rupee
I have configured all currencies in app/code/core/Mage/Paypal/Model/Config.php
and rest all settings seems to be setup perfectly. But still I am getting above error.
Please suggest where I am making mistake.
It doesn't look like the Indian Rupee is a currency accepted by Paypal. Consult the currency list to see what you can and can't accept
Paypal doesn't support Indian Currency. So you need to convert your base currency to the accepted Currency of Paypal before proceeding to Checkout for Payment via Paypal.
I have used small trick to rid this error. It is not good solution but sometime it is useful.
Go to app\code\core\Mage\Paypal\Model\Express\Checkout.php. Find the public function start and find below code
$this->_api->setAmount($this->_quote->getBaseGrandTotal())
->setCurrencyCode($this->_quote->getBaseCurrencyCode())
->setInvNum($this->_quote->getReservedOrderId())
->setReturnUrl($returnUrl)
->setCancelUrl($cancelUrl)
->setSolutionType($solutionType)
->setPaymentAction($this->_config->paymentAction);
Just replace the below code
$this->_api->setAmount($this->_quote->getBaseGrandTotal())
->setCurrencyCode('USD')
->setInvNum($this->_quote->getReservedOrderId())
->setReturnUrl($returnUrl)
->setCancelUrl($cancelUrl)
->setSolutionType($solutionType)
->setPaymentAction($this->_config->paymentAction);
With this trick now you will go to paypal without any error. But you have to convert the price from Base Currency to USD.
Note: This solution is only for Paypal Express Users.
Code Taken From: http://chandreshrana.blogspot.in/2016/06/paypal-gateway-has-rejected-request.html
Related
I checked the data return from paypal using dd() in laravel, but there is no phone number listed there. How can I get that data?
I'm using this package: https://github.com/paypal/PayPal-PHP-SDK
Screenshot:
Update - Added required phone in paypal settings
Solution
Use $payment->payer->payer_info->phone to access the phone number.
The $payment variable is a Payment class like the screenshot above.
I cannot guarantee this will be a valid solution, but PayPal says in its Express Checkout documentation that
Note: PayPal returns a contact phone number only if your Merchant Account Profile settings require that the buyer enter one.
So, start looking into the PayPal account, into your Merchant Profile settings: you should be able to find the option at one of the following the URL
https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-website-payments
https://www.paypal.com/businessmanage/preferences/website
Someone still have issue on receiving the info and got them by making a subsequent call to /v1/payments/payment/PAYMENT_ID.
(the above answer has been edited to simplify retrieving of all the info present in comments)
I got following from PayPal api book page 45.
I am developing an online shopping site, which sells products using Indian Rupees (INR). When I link this to PayPal with Indian Rupees as the base currency, it redirects back to the shopping cart without taking me to PayPal.
When I use a currency converter and change the value to USD, it shows the error "PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details)". Can you please help me resolve this issue?
I'm not sure that a payed module is the best answer, but it sure was worth the 29 dollars for me:
http://www.magentocommerce.com/magento-connect/paypal-multi-currency.html
I add INR currency on PayPal supported currency codes And it's working.
We are using Paypal express Checkout using onepage checkout option in Magento. Its working fine and now, I am trying to use the same inside "Ship to multiple address" option.
Based upon my research, I am not sure whether it is possible or not.
So, My question is - Can we use Paypal Express checkout in case of Multishipping option?
I tried to enable (by setting the below data member to True)
protected $_canUseForMultishipping = false;
in Payment method model class which result in display of the payment method in the payment section but never redirected to Paypal window instead displayed error on clicking place order:
PayPal gateway has rejected request. Invalid token (#10410: Invalid token).
Any quick help would be highly appreciated, Thanks.
This is actually not supported and many others have had this same problem.
See:
https://magento.stackexchange.com/questions/16628/multiple-checkout-payment-gateway-redirection-issue/16644#16644
I have try all way from this site but still i'm get "PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details)." when base currency is "Indian Rupee" and checkout with paypal.
Without any extension is it posible ? if yes than plz tell me how ?
For paypal checkout You must set base currency which paypal accept. paypal accept five currencies. you need to set base currency "USD" then try it.
My base currency is Chinese RMB in admin side. I do not want to change base currency and my display currency is also Chinese RMB. My payment method is PayPal standard. When I order through PayPal in front side following error occurs.
PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details). Internal Error (#10001: Transaction failed due to internal error).
Can anybody tell me how to fix it without changing base currency?
This rejection is coming up from PayPal as it does not accept RMB. You need to change to the currency that accepts by PayPal. Look here for currency accepted by PayPal.