How to exclude a product or category from the coupon
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.
- studiocurci
-
Topic Author
- Offline
- Posts: 79
- Thank you received: 3
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.
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
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.
- studiocurci
-
Topic Author
- Offline
- Posts: 79
- Thank you received: 3
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.
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.
Please Log in or Create an account to join the conversation.
- studiocurci
-
Topic Author
- Offline
- Posts: 79
- Thank you received: 3
Regards
Please Log in or Create an account to join the conversation.
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.
- studiocurci
-
Topic Author
- Offline
- Posts: 79
- Thank you received: 3
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
Please Log in or Create an account to join the conversation.
- studiocurci
-
Topic Author
- Offline
- Posts: 79
- Thank you received: 3
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.
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.
- studiocurci
-
Topic Author
- Offline
- Posts: 79
- Thank you received: 3
Thank youJerome wrote: 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 contentByCode:if($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).Code:if(false && $fullcart) { unset($order_products); return; }
Francesco
Please Log in or Create an account to join the conversation.
Like I told you in my previous message ; you can update HikaShop freely.
The modification is HikaSerial only.
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.
- studiocurci
-
Topic Author
- Offline
- Posts: 79
- Thank you received: 3
Regards
Francesco
Please Log in or Create an account to join the conversation.
You can download HikaSerial 5.0.0 ; it contains a small patch which seems to work fine during my tests.
Feel free to send us your feedback if you still have an 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.