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

#   \[SOLVED\] Two problems if customer pays later and changes payment method

##

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile") Topic Author
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

7 years 6 months ago -  7 years 6 months ago [\#307048](#307048) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  *[\[SOLVED\] Two problems if customer pays later and changes payment method](/forum/29-payment-methods/897563-solved-two-problems-if-customer-pays-later-and-changes-payment-method#307048 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.6 -- PHP version -- : 7.2  Hi,  Conditions: - In system config, both &quot;Payment of orders not paid immediately&quot; and &quot;Allow customers to change their payment method after checkout&quot; are set to &quot;yes&quot;. - Multiple payment methods, e.g. Bank Transfer without extra cost, PayPal with 2% &quot;price&quot;, Cash on Delivery restricted to Pick-up/Self-collection.  Problems:  1a. If customer selects Bank Transfer in checkout but later clicks &quot;Pay now&quot; and then chooses PayPal, the 2% are not applied. 1b. Vice versa, if payment methods are set for e.g. PayPal at no extra cost but Bank Transfer having a price of -2% (factually 2% discount), and customer selects Bank Transfer in checkout but later chooses PayPal, he is still enjoying the 2% discount for Bank Transfer. I can see that the &quot;price&quot; amount is stored in #&#95;&#95;hikashop&#95;order in &quot;order&#95;payment&#95;price&quot; column, but it seems the customer changing the payment method does not &quot;reset&quot; this to then apply the price of the new payment method.  2. If a payment method is restricted to e.g. a certain shipping method (like Cash on Delivery restricted to Pick-up/Self-collection only), it is still offered if customer chooses to pay later even if a different shipping method had been selected (e.g. Airfreight or whatever). Haven't tried other restrictions, but at least shipping method restriction does not apply for &quot;Pay now&quot; (= later).  Both not good, obviously. Again, thanks in advance for fixing it.")* was created by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")*

-- HikaShop version -- : 4.1.0
-- Joomla version -- : 3.9.6
-- PHP version -- : 7.2

Hi,

Conditions:
- In system config, both "Payment of orders not paid immediately" and "Allow customers to change their payment method after checkout" are set to "yes".
- Multiple payment methods, e.g. Bank Transfer without extra cost, PayPal with 2% "price", Cash on Delivery restricted to Pick-up/Self-collection.

Problems:

1a. If customer selects Bank Transfer in checkout but later clicks "Pay now" and then chooses PayPal, the 2% are not applied.
1b. Vice versa, if payment methods are set for e.g. PayPal at no extra cost but Bank Transfer having a price of -2% (factually 2% discount), and customer selects Bank Transfer in checkout but later chooses PayPal, he is still enjoying the 2% discount for Bank Transfer.
I can see that the "price" amount is stored in #__hikashop_order in "order_payment_price" column, but it seems the customer changing the payment method does not "reset" this to then apply the price of the new payment method.

2. If a payment method is restricted to e.g. a certain shipping method (like Cash on Delivery restricted to Pick-up/Self-collection only), it is still offered if customer chooses to pay later even if a different shipping method had been selected (e.g. Airfreight or whatever). Haven't tried other restrictions, but at least shipping method restriction does not apply for "Pay now" (= later).

Both not good, obviously. Again, thanks in advance for fixing it.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Last edit: 7 years 6 months ago by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile"). Reason: Solved

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

7 years 6 months ago [\#307062](#307062) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Two problems if customer pays later and changes payment method](/forum/29-payment-methods/897563-solved-two-problems-if-customer-pays-later-and-changes-payment-method#307062 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.6 -- PHP version -- : 7.2  Hi,  Conditions: - In system config, both &quot;Payment of orders not paid immediately&quot; and &quot;Allow customers to change their payment method after checkout&quot; are set to &quot;yes&quot;. - Multiple payment methods, e.g. Bank Transfer without extra cost, PayPal with 2% &quot;price&quot;, Cash on Delivery restricted to Pick-up/Self-collection.  Problems:  1a. If customer selects Bank Transfer in checkout but later clicks &quot;Pay now&quot; and then chooses PayPal, the 2% are not applied. 1b. Vice versa, if payment methods are set for e.g. PayPal at no extra cost but Bank Transfer having a price of -2% (factually 2% discount), and customer selects Bank Transfer in checkout but later chooses PayPal, he is still enjoying the 2% discount for Bank Transfer. I can see that the &quot;price&quot; amount is stored in #&#95;&#95;hikashop&#95;order in &quot;order&#95;payment&#95;price&quot; column, but it seems the customer changing the payment method does not &quot;reset&quot; this to then apply the price of the new payment method.  2. If a payment method is restricted to e.g. a certain shipping method (like Cash on Delivery restricted to Pick-up/Self-collection only), it is still offered if customer chooses to pay later even if a different shipping method had been selected (e.g. Airfreight or whatever). Haven't tried other restrictions, but at least shipping method restriction does not apply for &quot;Pay now&quot; (= later).  Both not good, obviously. Again, thanks in advance for fixing it.")*

Hi,

Thank you for your feedback.
These were indeed broken due to changes we made when we added the support of taxes for payment methods.
I've added several patchs to have that work properly.
Bonus points: the total of the order is displayed on the payment page and the payment methods selection dropdown now displays the -+ difference for the payment fees for each payment method.
You can download the install package on our website and install it on yours to get the patchs for all of that.

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

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile") Topic Author
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

7 years 6 months ago [\#307078](#307078) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Two problems if customer pays later and changes payment method](/forum/29-payment-methods/897563-solved-two-problems-if-customer-pays-later-and-changes-payment-method#307078 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.6 -- PHP version -- : 7.2  Hi,  Conditions: - In system config, both &quot;Payment of orders not paid immediately&quot; and &quot;Allow customers to change their payment method after checkout&quot; are set to &quot;yes&quot;. - Multiple payment methods, e.g. Bank Transfer without extra cost, PayPal with 2% &quot;price&quot;, Cash on Delivery restricted to Pick-up/Self-collection.  Problems:  1a. If customer selects Bank Transfer in checkout but later clicks &quot;Pay now&quot; and then chooses PayPal, the 2% are not applied. 1b. Vice versa, if payment methods are set for e.g. PayPal at no extra cost but Bank Transfer having a price of -2% (factually 2% discount), and customer selects Bank Transfer in checkout but later chooses PayPal, he is still enjoying the 2% discount for Bank Transfer. I can see that the &quot;price&quot; amount is stored in #&#95;&#95;hikashop&#95;order in &quot;order&#95;payment&#95;price&quot; column, but it seems the customer changing the payment method does not &quot;reset&quot; this to then apply the price of the new payment method.  2. If a payment method is restricted to e.g. a certain shipping method (like Cash on Delivery restricted to Pick-up/Self-collection only), it is still offered if customer chooses to pay later even if a different shipping method had been selected (e.g. Airfreight or whatever). Haven't tried other restrictions, but at least shipping method restriction does not apply for &quot;Pay now&quot; (= later).  Both not good, obviously. Again, thanks in advance for fixing it.")*

Thank you very much for your fast and excellent intervention, Nicolas. It's working well now.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTc1NjMtc29sdmVkLXR3by1wcm9ibGVtcy1pZi1jdXN0b21lci1wYXlzLWxhdGVyLWFuZC1jaGFuZ2VzLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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.075 seconds

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