How to exclude a product or category from the coupon

  • Posts: 26045
  • Thank you received: 4007
  • MODERATOR
1 month 5 days ago #360967

Hello,

No, that's not the page I gave you.

Your Paypal IPN logs should be at : www.paypal.com/merchantnotification/ipn/history
( as explained in the documentation page : developer.paypal.com/api/nvp-soap/ipn/IPNOperations/ )
{/quote]

Regards


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 65
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
1 month 2 days ago #360995

Hi,
in any case, I think that PayPal correctly sends the information to Hikasghop, because the renewal of the first test without a discount coupon was successful.
Sorry, but have you tried to do any tests successfully with the discount coupon?
I thank you
Francesco

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

  • Posts: 26045
  • Thank you received: 4007
  • MODERATOR
1 month 1 day ago #361032

Hello,

We performed an investigation and the recurring price should not contain the discount price.
For a reason that I can't understand right now, the detection of the discount during the recurring value processing is not working properly.

Please edit the file "administrator/components/com_hikaserial/classes/cart.php" and replace the content

		if($fullcart) {
			unset($order_products);
			return;
		}
By
		if(false && $fullcart) {
			unset($order_products);
			return;
		}
in order to force the processing of the recurring price using the total of the products (and not using the order price).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 65
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
1 month 23 hours ago #361048

Hi,
If I understand correctly, with your code it will become possible to make the first purchase with the discount. The subsequent renewals will be at full price, with the price of the product without discount?
Thank you

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

  • Posts: 26045
  • Thank you received: 4007
  • MODERATOR
1 month 15 hours ago #361065

Hello,

Yes, that's it.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 1 month 15 hours ago by Jerome.

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

  • Posts: 65
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
4 weeks 1 day ago #361090

Well, I replaced the code. Today I'm doing a new test with a product. Renewal every 3 days. I'll let you know how it goes. It seems that it is not possible to override the file you indicated, so kindly do not make new versions without including the new code otherwise it would overwrite the code I modified.
Regards

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

  • Posts: 26045
  • Thank you received: 4007
  • MODERATOR
4 weeks 1 day ago #361102

Hello,

Since you have that error, we will perform further tests regarding that discount detection.
If we can understand the issue, we will work on a patch.
Otherwise, we will change the behavior and add a setting to configure which mode should be use.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 65
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
3 weeks 5 days ago #361119

Hi,
with your new code the renewal worked correctly.
Here is the test: 1) total order 1 euro, 10% discount = 0.90 euros.
2) renewal: total order 1 euro (no discount)
Best regards

The following user(s) said Thank You: Jerome

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

Moderators: Obsidev
Time to create page: 0.078 seconds
Powered by Kunena Forum