- Posts: 21
- Thank you received: 0
Checkout Issues
Just a little information first. I'm using PayPal for payments. I have sales tax set up for Maryland.The checkout workflow is as follows:
cart_coupon,login,address,shipping_payment_confirm_cart_coupon_status_fields,end
The issues:
1. When you go to checkout, sales tax shows on the first view of the cart. This happens if you are not logged in yet, also when you are logged in with an address outside of Maryland. It does correct itself on the final total, but I would like it not to show up on the first view.
2. When you go to PayPal, there is an error that comes up --PHPMAILER_RECIPIENT_FAILED ----@----.com--. I do however receive the notice of an order for the administrator. Is this a Joomla issue or do I need to change something in HikaShop?
3. If you get to PayPal and use the link to return to the site without completing the order, the cart is empty when you get back. Is there any way to keep the items in the cart?
Please Log in or Create an account to join the conversation.
- Posts: 52
- Thank you received: 0
same problem here. of course it wasn't a problem until I tried to delete new zealand or whatever was the "main tax zone", now no matter if I set it to iceland it still shows tax on checkout until they login. oddly, I am also making the site for a maryland company, and that part works correctly.
1. When you go to checkout, sales tax shows on the first view of the cart. This happens if you are not logged in yet, also when you are logged in with an address outside of Maryland. It does correct itself on the final total, but I would like it not to show up on the first view.
Please Log in or Create an account to join the conversation.
1. You need to set the option "main tax zone" in your configuration of hikashop. By default, before the user enters his address, the taxes are calculated based on that zone.
2. That indeed sounds like a problem of your email settings in joomla. No one else reported such error for hikashop yet.
3. The cart is actually emptied before going to paypal. If you don't want that, you will have to modify the code of hikashop. More precisely, in the function save of the file administrator/components/com_hikashop/classes/order.php
Please Log in or Create an account to join the conversation.
- Posts: 52
- Thank you received: 0
I have tried setting the "main tax zone" to an unpublished zone and to one that has no tax and yet it continues to show the maryland tax rate on the category listing and in the cart. I have also set the "show taxed prices" to "No Tax", again it still shows the prices with the maryland rate.
do you think it could have anything to do with this:
www.hikashop.com/support/forum/4-how-to/...t.html?lang=en#12323 ?
p.s. it was when I tried to delete the one it was initially set to by default on install that this happened

update: I logged in in frontend as a different non-maryland user then logged out and now it is not happening anymore. weird.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
1. I figured out the main tax zone, so that's good.
2. I think I figured out the email issue. I'm on a temporary site and I don't think my email server allows mail to be sent from another server.
3. Will changing the code keep items in the cart even after a purchase, or will it know that the order was paid for through PayPal and clear the cart? Could you let me know exactly what code I need to change.
Please Log in or Create an account to join the conversation.
if(!empty($order->cart->cart_id)){
$cartClass = hikashop::get('class.cart');
$cartClass->delete($order->cart->cart_id);
}
which removes the cart when an order is created. If you remove the code, the cart won't be emptied.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
$cartClass = hikashop::get('class.cart');
$cartClass->resetCart();
Please Log in or Create an account to join the conversation.
Thanks again.
Please Log in or Create an account to join the conversation.