[Skip to main content](#vessel-content)

#   Installment Payments Bug/Enhancement

##

- **[ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")**
- [![ateam98's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28786-ateam98 "View ateam98's Profile") Topic Author
- [ Offline](/forum/user/28786-ateam98)

Less More

- Posts: 49
- Thank you received: 2
-
-
-

12 years 2 weeks ago [\#178822](#178822) by [ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")  *[Installment Payments Bug/Enhancement](/forum/29-payment-methods/872881-installment-payments-bug-enhancement#178822 "-- HikaShop version -- : 2.3.4  When using installments, the published flag is not being inspected when showing the payment methods. We operate a festival and sell booth space to vendors. This event occurs in June. If you buy your booth in January, you get to make 5 payments (jan to may) If you buy in Feb, you get for payments (feb-may) up until May where you have to pay all at one time. We would like to have separate installment options for each of those situations, and only allow selection of the appropriate number of installments for each scenario. If we set them up, they all appear, regardless of the published flag. Last year, we just change the number of installments, but that caused a lot of reporting and operational issues as all of the orders had the last number of installments. If we could patch the code to only DISPLAY the published installment plans and the single payment options that would fit perfectly. The published flag should be ignored for PROCESSING payments because once created on and order, they should always processed. A future enhancement to this might also be effectivety dates on the installments where they are valid between and including a starting and ending date. Thanks in advance for your help, Alan")* was created by *[ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")*

-- HikaShop version -- : 2.3.4

When using installments, the published flag is not being inspected when showing the payment methods.
We operate a festival and sell booth space to vendors. This event occurs in June. If you buy your booth in January, you get to make 5 payments (jan to may) If you buy in Feb, you get for payments (feb-may) up until May where you have to pay all at one time.
We would like to have separate installment options for each of those situations, and only allow selection of the appropriate number of installments for each scenario. If we set them up, they all appear, regardless of the published flag. Last year, we just change the number of installments, but that caused a lot of reporting and operational issues as all of the orders had the last number of installments.
If we could patch the code to only DISPLAY the published installment plans and the single payment options that would fit perfectly. The published flag should be ignored for PROCESSING payments because once created on and order, they should always processed.
A future enhancement to this might also be effectivety dates on the installments where they are valid between and including a starting and ending date.
Thanks in advance for your help,
Alan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzI4ODEtaW5zdGFsbG1lbnQtcGF5bWVudHMtYnVnLWVuaGFuY2VtZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 weeks ago [\#178915](#178915) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Installment Payments Bug/Enhancement](/forum/29-payment-methods/872881-installment-payments-bug-enhancement#178915 "-- HikaShop version -- : 2.3.4  When using installments, the published flag is not being inspected when showing the payment methods. We operate a festival and sell booth space to vendors. This event occurs in June. If you buy your booth in January, you get to make 5 payments (jan to may) If you buy in Feb, you get for payments (feb-may) up until May where you have to pay all at one time. We would like to have separate installment options for each of those situations, and only allow selection of the appropriate number of installments for each scenario. If we set them up, they all appear, regardless of the published flag. Last year, we just change the number of installments, but that caused a lot of reporting and operational issues as all of the orders had the last number of installments. If we could patch the code to only DISPLAY the published installment plans and the single payment options that would fit perfectly. The published flag should be ignored for PROCESSING payments because once created on and order, they should always processed. A future enhancement to this might also be effectivety dates on the installments where they are valid between and including a starting and ending date. Thanks in advance for your help, Alan")*

Hi,

How do you have created many instance of the installment payment ?

Are you using the plugin "hikashop recurring" ?
If it is, it has not been ported to the multi instance.
That mean, that you should not be able to have many paypal recurring methods, but only one.

In you case, why not setting up one method with an installment on 5 months, and then edit it in february to set it to 4 installments ? At this time, when having only one paypal recurring instance set, the publish/unpublish feature is working fine.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzI4ODEtaW5zdGFsbG1lbnQtcGF5bWVudHMtYnVnLWVuaGFuY2VtZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")**
- [![ateam98's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28786-ateam98 "View ateam98's Profile") Topic Author
- [ Offline](/forum/user/28786-ateam98)

Less More

- Posts: 49
- Thank you received: 2
-
-
-

12 years 2 weeks ago -  12 years 2 weeks ago [\#179086](#179086) by [ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")  Replied by *[ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")* on topic *[Installment Payments Bug/Enhancement](/forum/29-payment-methods/872881-installment-payments-bug-enhancement#179086 "-- HikaShop version -- : 2.3.4  When using installments, the published flag is not being inspected when showing the payment methods. We operate a festival and sell booth space to vendors. This event occurs in June. If you buy your booth in January, you get to make 5 payments (jan to may) If you buy in Feb, you get for payments (feb-may) up until May where you have to pay all at one time. We would like to have separate installment options for each of those situations, and only allow selection of the appropriate number of installments for each scenario. If we set them up, they all appear, regardless of the published flag. Last year, we just change the number of installments, but that caused a lot of reporting and operational issues as all of the orders had the last number of installments. If we could patch the code to only DISPLAY the published installment plans and the single payment options that would fit perfectly. The published flag should be ignored for PROCESSING payments because once created on and order, they should always processed. A future enhancement to this might also be effectivety dates on the installments where they are valid between and including a starting and ending date. Thanks in advance for your help, Alan")*

the type is hikashop paypal recurring. I created 1, then copied it to a second with a different name, then changed the number of installments. When checking out both appear even though I unpublished the first.
The issue with the changing of the number of installments is that when you look at the orders, it has the same referential data as all the other orders, regardless of the number of installments...it only displays what is current. Last year it also did the last payments for orders that had the same method for multiple numbers of installments over time incorrectly and the client had to process the last payments for all the orders manually. Why would you have only one installment method? Couldn't you let people choose from 1-5 payments by having 5 of them? And if not, how do you account for different installment plans? I am really confused now.
Not sure what 'ported to the multi instance' means.
I don't haven issue with only having one published at a time...my issue is that during checkout it displays all of them regardless of whether I have them published or not.

Last edit: 12 years 2 weeks ago by [ateam98](/forum/user/28786-ateam98 "View ateam98's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzI4ODEtaW5zdGFsbG1lbnQtcGF5bWVudHMtYnVnLWVuaGFuY2VtZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")**
- [![ateam98's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28786-ateam98 "View ateam98's Profile") Topic Author
- [ Offline](/forum/user/28786-ateam98)

Less More

- Posts: 49
- Thank you received: 2
-
-
-

12 years 2 weeks ago [\#179087](#179087) by [ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")  Replied by *[ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")* on topic *[Installment Payments Bug/Enhancement](/forum/29-payment-methods/872881-installment-payments-bug-enhancement#179087 "-- HikaShop version -- : 2.3.4  When using installments, the published flag is not being inspected when showing the payment methods. We operate a festival and sell booth space to vendors. This event occurs in June. If you buy your booth in January, you get to make 5 payments (jan to may) If you buy in Feb, you get for payments (feb-may) up until May where you have to pay all at one time. We would like to have separate installment options for each of those situations, and only allow selection of the appropriate number of installments for each scenario. If we set them up, they all appear, regardless of the published flag. Last year, we just change the number of installments, but that caused a lot of reporting and operational issues as all of the orders had the last number of installments. If we could patch the code to only DISPLAY the published installment plans and the single payment options that would fit perfectly. The published flag should be ignored for PROCESSING payments because once created on and order, they should always processed. A future enhancement to this might also be effectivety dates on the installments where they are valid between and including a starting and ending date. Thanks in advance for your help, Alan")*

I have duplicated this on the demo site. Payment methods AFM paypal recurring 1 and 2
Thanks,
Alan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzI4ODEtaW5zdGFsbG1lbnQtcGF5bWVudHMtYnVnLWVuaGFuY2VtZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 weeks ago [\#179287](#179287) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Installment Payments Bug/Enhancement](/forum/29-payment-methods/872881-installment-payments-bug-enhancement#179287 "-- HikaShop version -- : 2.3.4  When using installments, the published flag is not being inspected when showing the payment methods. We operate a festival and sell booth space to vendors. This event occurs in June. If you buy your booth in January, you get to make 5 payments (jan to may) If you buy in Feb, you get for payments (feb-may) up until May where you have to pay all at one time. We would like to have separate installment options for each of those situations, and only allow selection of the appropriate number of installments for each scenario. If we set them up, they all appear, regardless of the published flag. Last year, we just change the number of installments, but that caused a lot of reporting and operational issues as all of the orders had the last number of installments. If we could patch the code to only DISPLAY the published installment plans and the single payment options that would fit perfectly. The published flag should be ignored for PROCESSING payments because once created on and order, they should always processed. A future enhancement to this might also be effectivety dates on the installments where they are valid between and including a starting and ending date. Thanks in advance for your help, Alan")*

Hi,

Please edit the file "plugins/hikashoppayment/paypalrecurring/paypalrecurring.php" and in the function "onPaymentDisplay()" replace: Code:

if($method-&gt;payment_type!='paypalrecurring' &#124;&#124; !$method-&gt;enabled){ continue; }

By: Code:

if($method-&gt;payment_type!='paypalrecurring' &#124;&#124; !$method-&gt;enabled &#124;&#124; $method-&gt;payment_published == '0'){ continue; }

The following user(s) said Thank You: [ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzI4ODEtaW5zdGFsbG1lbnQtcGF5bWVudHMtYnVnLWVuaGFuY2VtZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")**
- [![ateam98's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28786-ateam98 "View ateam98's Profile") Topic Author
- [ Offline](/forum/user/28786-ateam98)

Less More

- Posts: 49
- Thank you received: 2
-
-
-

12 years 2 weeks ago [\#179345](#179345) by [ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")  Replied by *[ateam98](/forum/user/28786-ateam98 "View ateam98's Profile")* on topic *[Installment Payments Bug/Enhancement](/forum/29-payment-methods/872881-installment-payments-bug-enhancement#179345 "-- HikaShop version -- : 2.3.4  When using installments, the published flag is not being inspected when showing the payment methods. We operate a festival and sell booth space to vendors. This event occurs in June. If you buy your booth in January, you get to make 5 payments (jan to may) If you buy in Feb, you get for payments (feb-may) up until May where you have to pay all at one time. We would like to have separate installment options for each of those situations, and only allow selection of the appropriate number of installments for each scenario. If we set them up, they all appear, regardless of the published flag. Last year, we just change the number of installments, but that caused a lot of reporting and operational issues as all of the orders had the last number of installments. If we could patch the code to only DISPLAY the published installment plans and the single payment options that would fit perfectly. The published flag should be ignored for PROCESSING payments because once created on and order, they should always processed. A future enhancement to this might also be effectivety dates on the installments where they are valid between and including a starting and ending date. Thanks in advance for your help, Alan")*

As always, your fix is perfect and timely.
Thanks again for the tremendous support of your product.
Regards,
Alan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzI4ODEtaW5zdGFsbG1lbnQtcGF5bWVudHMtYnVnLWVuaGFuY2VtZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 weeks ago [\#179394](#179394) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Installment Payments Bug/Enhancement](/forum/29-payment-methods/872881-installment-payments-bug-enhancement#179394 "-- HikaShop version -- : 2.3.4  When using installments, the published flag is not being inspected when showing the payment methods. We operate a festival and sell booth space to vendors. This event occurs in June. If you buy your booth in January, you get to make 5 payments (jan to may) If you buy in Feb, you get for payments (feb-may) up until May where you have to pay all at one time. We would like to have separate installment options for each of those situations, and only allow selection of the appropriate number of installments for each scenario. If we set them up, they all appear, regardless of the published flag. Last year, we just change the number of installments, but that caused a lot of reporting and operational issues as all of the orders had the last number of installments. If we could patch the code to only DISPLAY the published installment plans and the single payment options that would fit perfectly. The published flag should be ignored for PROCESSING payments because once created on and order, they should always processed. A future enhancement to this might also be effectivety dates on the installments where they are valid between and including a starting and ending date. Thanks in advance for your help, Alan")*

Hi,

Thanks for the feedback. It allow us to improve our component. ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzI4ODEtaW5zdGFsbG1lbnQtcGF5bWVudHMtYnVnLWVuaGFuY2VtZW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.065 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
