Urgent! Need Help in Coupon Discount Setting

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32191

Hi All, I am seeking for anyone can help as this is urgent, my sale has started and found my coupon over discount to customer! and, there is no coupon discount show on shopping cart after coupon was added. But when proceed to Paypal checkout page, the coupon discount rate is more then it should be?

I just upgraded from free version to essential.

Hope anyone can tell me which important field(s) in "Discount" I should take care after upgraded. I cannot find any guides about this.

I am using only one currency, and the setting is correct.

Thank you!

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #32192

Hi,

Here is the documentation for coupons setup:
www.hikashop.com/en/support/documentatio...p-discount-form.html

Could you do a screenshot of your coupon's options so that we could check what is the problem ?

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32198

Thank you Nicolas for fast response!

The 3 screenshot in shopping cart, paypal checkout page and in store coupon setting are attached. (1st is shopping cart didn't show coupon discount, I will add 2 screenshot in next 2 posts)

Also received an email from cart system title: "Paypal payment notification refused:invalid amount", the content is : "A Paypal notification was refused because the amount received (12.76SGD) is different from the order amount (22.33SGD)"

This amount is the real case customer paid, not the amount shown in screenshot, that was my example. Thanks!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32199

The 2nd screenshot is the Paypal checkout page:

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32200

The last screenshot is the in store coupon setting:


Thank you!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32207

Oh yah, I have added some "Discount" for the X'mas sale after my upgrading to Essential from free version.

The amount I have mentioned above for that customer: "....(12.76SGD) is different from the order amount (22.33SGD)"

The $22.33 is the 30% discounted amount from the original amount $31.90 on the Sale".
The $12.76 is the amount the customer paid after she applied the coupon.

Hope this help!

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #32210

You should first try to turn off the "send order details" option in the paypal payment plugin. That will avoid that the amount paid in paypal is different than the amount of the order in HikaShop.

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32220

I have set the Paypal plugin off, and tested another order with a $2 coupon. It still show Nil in the cart and Paypal checkout page didn't show any discount.

I went back to my tester account and view the order it show a VAT and a discounted amount same as VAT, pls see screenshot.

In my store, I have actually not required VAT, and I have turned off in the main configuration - "VAT number check" = "no check", is this right?


Thanks!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32222

After checking all my tester orders in my tester acct, I found all discounts were equal to the VAT amount.

Hope this help

Thanks! :laugh:

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32225

Regarding my 2nd posts "Also received an email from cart system title: "Paypal payment notification refused:invalid amount", the content is : "A Paypal notification was refused because the amount received (12.76SGD) is different from the order amount (22.33SGD)"

Paypal account checking found no problem, I have received the amt of 12.76.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #32230

After checking all my tester orders in my tester acct, I found all discounts were equal to the VAT amount.<- That's a bug which was corrected in the new release of HikaShop 1.5.5 it's strange that you're having that problem.
Could you try to replace the file administrator/components/com_hikashop/classes/discount.php by the one enclosed ?

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32232

Sorry, where is the file?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #32244

Sorry, the file had to be zipped.

File Attachment:

File Name: discount.zip
File Size:2 KB

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32245

Thank you! So just upload from Cpanel or in the site admin backend?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #32248

I would do that via FTP. If you don't have an FTP access, then cpanel should do the trick. If you don't have an extension like extplorer installed on your website, you won't be able to upload the file via your back end.

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32259

No change at all.

Just a hint, I didn't use the default shipping zones, I created in the shipping some countries without states or city.

In the Hikashop main config page, the zone is 0.

Can this effected the discount system?

Thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #32265

That should not affect the discounts calculations.
If that doesn't work, I'm out of ideas. I would need from you an FTP access and a back end access to your website in order to debug the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32403

I have forward the access.

Thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 11 months ago #32426

Hi,

The problem has been fixed. It came from the fact that the products int he cart had already a discount on them and from the numerous modifications we had to make in the coupon system to handle the new options of HikaShop 1.5.5
We had to change a bit some code to make it work with prices with already discounts applied to them.

Please Log in or Create an account to join the conversation.

  • Posts: 131
  • Thank you received: 3
12 years 11 months ago #32491

Thank you very much, cheers :laugh:

Please Log in or Create an account to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum