PayPal gateway has rejected request Paypal is not supported (#10605: Transaction refused because of an...
I am using two store for my website one is for India and other for global(other country).
for Global is used paypal payment method. in global store currency is USD, India store currency is INR, Default config currency is USD. When i going to place order using paypal payment method in global store. i got error
PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details) and redirect to shopping cart page.
But when i set USD currency in all my store India, global and default config and try to place order from global store using paypal payment method then successfully redirect to paypal account.
magento-1.9 multistore paypal-express
add a comment |
I am using two store for my website one is for India and other for global(other country).
for Global is used paypal payment method. in global store currency is USD, India store currency is INR, Default config currency is USD. When i going to place order using paypal payment method in global store. i got error
PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details) and redirect to shopping cart page.
But when i set USD currency in all my store India, global and default config and try to place order from global store using paypal payment method then successfully redirect to paypal account.
magento-1.9 multistore paypal-express
is your issue solved?
– Gem
Jul 25 '17 at 10:00
add a comment |
I am using two store for my website one is for India and other for global(other country).
for Global is used paypal payment method. in global store currency is USD, India store currency is INR, Default config currency is USD. When i going to place order using paypal payment method in global store. i got error
PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details) and redirect to shopping cart page.
But when i set USD currency in all my store India, global and default config and try to place order from global store using paypal payment method then successfully redirect to paypal account.
magento-1.9 multistore paypal-express
I am using two store for my website one is for India and other for global(other country).
for Global is used paypal payment method. in global store currency is USD, India store currency is INR, Default config currency is USD. When i going to place order using paypal payment method in global store. i got error
PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details) and redirect to shopping cart page.
But when i set USD currency in all my store India, global and default config and try to place order from global store using paypal payment method then successfully redirect to paypal account.
magento-1.9 multistore paypal-express
magento-1.9 multistore paypal-express
edited Jul 7 '16 at 5:06
Rushvi
2,4091729
2,4091729
asked Dec 3 '15 at 14:01
Code KillerCode Killer
6819
6819
is your issue solved?
– Gem
Jul 25 '17 at 10:00
add a comment |
is your issue solved?
– Gem
Jul 25 '17 at 10:00
is your issue solved?
– Gem
Jul 25 '17 at 10:00
is your issue solved?
– Gem
Jul 25 '17 at 10:00
add a comment |
1 Answer
1
active
oldest
votes
I have used small trick to rid this error. It is not good solution but sometime it is useful.
Go to appcodecoreMagePaypalModelExpressCheckout.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/11/paypal-gateway-has-rejected-request.html
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f92527%2fpaypal-gateway-has-rejected-request-paypal-is-not-supported-10605-transaction%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I have used small trick to rid this error. It is not good solution but sometime it is useful.
Go to appcodecoreMagePaypalModelExpressCheckout.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/11/paypal-gateway-has-rejected-request.html
add a comment |
I have used small trick to rid this error. It is not good solution but sometime it is useful.
Go to appcodecoreMagePaypalModelExpressCheckout.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/11/paypal-gateway-has-rejected-request.html
add a comment |
I have used small trick to rid this error. It is not good solution but sometime it is useful.
Go to appcodecoreMagePaypalModelExpressCheckout.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/11/paypal-gateway-has-rejected-request.html
I have used small trick to rid this error. It is not good solution but sometime it is useful.
Go to appcodecoreMagePaypalModelExpressCheckout.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/11/paypal-gateway-has-rejected-request.html
edited Nov 10 '16 at 5:31
answered Jun 4 '16 at 6:32
Chandresh RanaChandresh Rana
29927
29927
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f92527%2fpaypal-gateway-has-rejected-request-paypal-is-not-supported-10605-transaction%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
is your issue solved?
– Gem
Jul 25 '17 at 10:00