No checkout with Check/Money Order unless in USD
My Cart has multiple currencies enabled, customers can pay in their own currencies with Credit Cards and Paypal.
I also accept foriegn Checks and Money orders (IMO) but only if they are in USD$. Aside from noting this fact in the checkout pages, enabling the change currency sidebox in Checkout and sending emails...
---> Is there a way to not let a customer finish his order (get to check out success page) with Check/Money Order as the payment method if the wrong currency (non USD$) is selected?<---
Re: No checkout with Check/Money Order unless in USD
You can check what the currency is with:
$_SESSION['currency']
and turn off the module by setting the:
$this->enabled
to false when the currency is wrong ...
Re: No checkout with Check/Money Order unless in USD
Hello Ajeh!
Long time...
so where should I through those puppies?
includes/modules/payment/moneyorder.php
includes/templates/MY_TEMPLATE/templates/tpl_checkout_payment_default.php
mainpage?
Re: No checkout with Check/Money Order unless in USD
Wouldnt it be better to limit base on user shipping address instead of currency?
Re: No checkout with Check/Money Order unless in USD
Quote:
Originally Posted by
yellow1912
Wouldnt it be better to limit base on user shipping address instead of currency?
You mean the zone setting in Check/Money order mod in the Admin? That would shut down that payment method entirely for that zone....I want to allow all zones, but only in USD for that payment method (Check/Money order).
Re: No checkout with Check/Money Order unless in USD
Say if you are located in US, you will want to accept check/money order from US ONLY.
What if I'm from China, I chose usd currency, buy stuffs on your site and pay by check? Would you still accept it?
Re: No checkout with Check/Money Order unless in USD
Yes, if the check was in USD, drawn on a USA bank.
Re: No checkout with Check/Money Order unless in USD
Hi dharma,
I had this exact issue with my checkout process as well and after careful consideration decided NOT to try to block payment options such as this due to the fact that if a customer is having a issue with PayPal for whatever reason they can always close the sale through check/money order and i can deal with it. A order can always be canceled and such but since our customers have full control on when they close the sale, I try to make sure they can.
GJW
StampCommune.Com
Re: No checkout with Check/Money Order unless in USD
To only allow this to run when set to USD you can edit the moneyorder.php payment module and change:
PHP Code:
$this->enabled = ((MODULE_PAYMENT_MONEYORDER_STATUS == 'True') ? true : false);
to read:
PHP Code:
if ($_SESSION['currency'] == 'USD') {
$this->enabled = ((MODULE_PAYMENT_MONEYORDER_STATUS == 'True') ? true : false);
}
Re: No checkout with Check/Money Order unless in USD
That works great, but if the customer has a foreign currency selected and goes to checkout they are not given the option to use Check/Money order (simular to turning off a zone in the money order admin/money order)
Is there an if statement that can go on the checkout payment page, preventing/reminding the customer that the Check/Money order must be in USD to continue (without affecting the other payment mods (paypal/CC)?