How to exclude a product or category from the coupon

  • Posts: 26075
  • Thank you received: 4016
  • MODERATOR
2 months 2 weeks 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: 68
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
2 months 1 week 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: 26075
  • Thank you received: 4016
  • MODERATOR
2 months 1 week 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: 68
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
2 months 1 week 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: 26075
  • Thank you received: 4016
  • MODERATOR
2 months 1 week 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: 2 months 1 week ago by Jerome.

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

  • Posts: 68
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
2 months 1 week 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: 26075
  • Thank you received: 4016
  • MODERATOR
2 months 1 week 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: 68
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
2 months 6 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.

  • Posts: 68
  • Thank you received: 3
  • Hikaserial Subscription Hikashop Business
1 month 1 week ago #361611

Hi,
did add your new custom code to the last Hikashop and Hikaserial versions?
Now I still have:
HikaShop Business 5.0.4 [2405021549]
HikaSubscription: 4.0.2

I didn't update the versions because of the new custom code.
I was afraid of update them because of the risk to overraide the code I manually added on a system file.
Thank you
Regards

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

  • Posts: 26075
  • Thank you received: 4016
  • MODERATOR
1 month 1 week ago #361622

Hello,

You can update HikaShop, it's not impacted by your local modification.
The next release of HikaSerial/HikaSubscription will take care of your issue.

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.

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