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

#   suddenly a payment is added to our checkout.

##

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

Less More

- Posts: 92
- Thank you received: 3
-
-

5 years 9 months ago [\#329840](#329840) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#329840 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")* was created by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.1.33

Hi,

We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link.
So they don't have to pay at the moment they make te reservation (purchase).

Now suddenly, at the end of our checkout procedure, our customers get a payment page.
I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....

Where should I change this, I cannot find the change.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

5 years 9 months ago [\#329908](#329908) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#329908 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

Hello,

If you want to change your checkout workflow, you can configure it via "Hikashop-&gt;System-&gt;Configuration-&gt;Checkout".

Kind regards,
Mohamed.

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

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

Less More

- Posts: 92
- Thank you received: 3
-
-

5 years 9 months ago [\#329943](#329943) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#329943 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

That was the first place I looked....

The thing is, I cannot find the payment in there... That is why I am so surprised...

You can see the steps in the attachements. Am I overlooking something?

- [ ![Schermafbeelding2021-02-23om12.47.12.png](/forum/attachment/52031) ](/forum/attachment/52031 "...om12.47.12.png") [ ](/forum/attachment/52031?download=1 "...om12.47.12.png")
- [ ![Schermafbeelding2021-02-23om12.47.00.png](/forum/attachment/52032) ](/forum/attachment/52032 "...om12.47.00.png") [ ](/forum/attachment/52032?download=1 "...om12.47.00.png")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 9 months ago -  5 years 9 months ago [\#329946](#329946) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#329946 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

Hello,

Your description of an payment that appear and your settings screenshot are quite astonishing, can you provide these elements please :
- A **step by step** process in order to reproduce your "issue"
**=&gt;** Check **how** do you proceed your tests, and see your payment form
- A **backend access** (url to backend &amp; admin ref with full access) in order to check your setting

**Note :** Use our **[ Contact us](https://www.hikashop.com/support/contact-us.html)** form to provide your backend access, just add an **Url link to this topic** in order to keep the link.

Awaiting your returns to be able to progress on your subject.
Regards

Last edit: 5 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 92
- Thank you received: 3
-
-

5 years 9 months ago [\#329988](#329988) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#329988 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

OK, step by step:

- added a booking "voeg toe aan reservering" ([ crux.nl/outdoor/alpine/alpineklimmen2/product/alpineweek](https://crux.nl/outdoor/alpine/alpineklimmen2/product/alpineweek)).
- then the checkout starts
- I provided an emailaddress (here's also something weird, I have 2 sets of buttons, green and white) an hit the white button
- then next on the next page (end of login)
- then provided address information and hit the white button (the green button gives you warnings)
- then again "next" on the pages for invoice address
- then "voltooien" on the completing screen
- and then the payment starts ...

I have turned off the paymentmethods for now, because I don't want customers to pay right now.

Can you work with this?

I know that it sounds silly 'cause things don't change by themselves, but the last time I did a test (because a customer said the process didn't work) there was no test at the end. Only things that happened in the meantime are updates...

- [ ![emailaddres.png](/forum/attachment/52044) ](/forum/attachment/52044 "emailaddres.png") [ ](/forum/attachment/52044?download=1 "emailaddres.png")
- [ ![address.png](/forum/attachment/52045) ](/forum/attachment/52045 "address.png") [ ](/forum/attachment/52045?download=1 "address.png")
- [ ![complete.png](/forum/attachment/52046) ](/forum/attachment/52046 "complete.png") [ ](/forum/attachment/52046?download=1 "complete.png")
- [ ![molliepayment.png](/forum/attachment/52047) ](/forum/attachment/52047 "molliepayment.png") [ ](/forum/attachment/52047?download=1 "molliepayment.png")
- [ ![emailaddres&#95;2021-02-24.png](/forum/attachment/52048) ](/forum/attachment/52048 "...2021-02-24.png") [ ](/forum/attachment/52048?download=1 "...2021-02-24.png")
- [ ![warnings.png](/forum/attachment/52049) ](/forum/attachment/52049 "warnings.png") [ ](/forum/attachment/52049?download=1 "warnings.png")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 9 months ago -  5 years 9 months ago [\#329992](#329992) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#329992 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

Hello,

We have recieved your **backend access**, but these don't allow us to access the **Main HikaShop Configuration** panel.
Can you increase our **Access level** in order to be able to access everything as previously requested please ?
We need to see your workflow part by example.

Regards

Last edit: 5 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 92
- Thank you received: 3
-
-

5 years 9 months ago [\#330019](#330019) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#330019 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

Excuse me!! I gave you administrator rights, thinking that would be enough. Now you're superuser.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTk4My1zdWRkZW5seS1hLXBheW1lbnQtaXMtYWRkZWQtdG8tb3VyLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14327
-
-

5 years 9 months ago [\#330032](#330032) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#330032 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

Hi,

The fact that a payment method appears at the end of the checkout is normal.
The cart system automatically selects a payment method for each cart all the time, unless the total amount is zero.
Removing the "payment" view from your checkout workflow will remove the payment method selection area on the checkout, but it won't change the fact that a payment method was auto selected.
What I would recommend is for you to create a payment method of the type "collect on delivery" and rename it for your needs (like for example "payment will happen later on"), and make sure that its "order" on the payment methods listing in your backend is the first one.
That way, the cart system will automatically select this payment method which won't do anything at the end of the checkout besides display some text that can be customized with view overrides.

Since you're saying that you didn't had that behavior before, I suppose that you were using the old checkout system which actually had an option to auto selcet the payment method or not but that isn't the case anymore, for reliability reasons.

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

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

Less More

- Posts: 92
- Thank you received: 3
-
-

5 years 8 months ago [\#330177](#330177) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#330177 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

HI,

Thanks that works!
But, this way I have another issue, I sent people an email with an invitation to pay and a link to do it.
And now I have an extra payment type I wish not to show than (pay on delevery).

Is there a way to show only the other 2 (the last 2)

[ ![Schermafbeelding2021-03-01om10.45.15.png](/forum/attachment/52114) ](/forum/attachment/52114 "...om10.45.15.png")

?

translation:
- Payment invitation will follow
- Payment with IDEAL
- Manual payment

- [ ![Schermafbeelding2021-03-01om10.45.15.png](/forum/attachment/52114) ](/forum/attachment/52114 "...om10.45.15.png") [ ](/forum/attachment/52114?download=1 "...om10.45.15.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTk4My1zdWRkZW5seS1hLXBheW1lbnQtaXMtYWRkZWQtdG8tb3VyLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14327
-
-

5 years 8 months ago [\#330208](#330208) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#330208 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

Hi,

To avoid that, I think you should be able to by adding such code: Code:

&lt;?php $found = false; foreach($this-&gt;paymentPluginType-&gt;methods[$this-&gt;paymentPluginType-&gt;type][(string)@$this-&gt;order-&gt;order_id] as $k =&gt; $method) { if($method-&gt;payment_id == $this-&gt;order-&gt;order_payment_id) { $found = $k; } } if($found) unset($this-&gt;paymentPluginType-&gt;methods[$this-&gt;paymentPluginType-&gt;type][(string)@$this-&gt;order-&gt;order_id][$k]); ?&gt;

at the beginning of the file order / pay.php via the menu Display&gt;Views

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

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

Less More

- Posts: 92
- Thank you received: 3
-
-

5 years 8 months ago [\#330444](#330444) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#330444 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

I am not good at writing PHP.

But I think what your code is supposed to do, is check what type op payment already has been done and to unset that one from the list. Is that right?

Except it doesn't work, It shows the first two, and not the last. But the first one was already used, and should not be shown.

- [ ![Schermafbeelding2021-03-08om10.50.06.png](/forum/attachment/52210) ](/forum/attachment/52210 "...om10.50.06.png") [ ](/forum/attachment/52210?download=1 "...om10.50.06.png")
- [ ![Schermafbeelding2021-03-08om10.49.55.png](/forum/attachment/52211) ](/forum/attachment/52211 "...om10.49.55.png") [ ](/forum/attachment/52211?download=1 "...om10.49.55.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTk4My1zdWRkZW5seS1hLXBheW1lbnQtaXMtYWRkZWQtdG8tb3VyLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14327
-
-

5 years 8 months ago [\#330449](#330449) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#330449 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

Hi,

Ah right, I made a mistake in the code. It should be like this: Code:

&lt;?php $found = false; foreach($this-&gt;paymentPluginType-&gt;methods[$this-&gt;paymentPluginType-&gt;type][(string)@$this-&gt;order-&gt;order_id] as $k =&gt; $method) { if($method-&gt;payment_id == $this-&gt;order-&gt;order_payment_id) { $found = $k; } } if($found) unset($this-&gt;paymentPluginType-&gt;methods[$this-&gt;paymentPluginType-&gt;type][(string)@$this-&gt;order-&gt;order_id][$found]); ?&gt;

Then it should work properly.

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

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

Less More

- Posts: 92
- Thank you received: 3
-
-

5 years 8 months ago -  5 years 8 months ago [\#330503](#330503) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#330503 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

This also doesn't give me the right result. I tried altering it, but just cannot....

This is what it shows me now:

[ ![Schermafbeelding2021-03-09om09.37.45.png](/forum/attachment/52229) ](/forum/attachment/52229 "...om09.37.45.png")

- [ ![Schermafbeelding2021-03-09om09.37.45.png](/forum/attachment/52229) ](/forum/attachment/52229 "...om09.37.45.png") [ ](/forum/attachment/52229?download=1 "...om09.37.45.png")

Last edit: 5 years 8 months ago by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile").

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

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

Less More

- Posts: 92
- Thank you received: 3
-
-

5 years 8 months ago [\#330521](#330521) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#330521 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

Also...

Today I put a backup on a testserver of the website, and when I walk through the same steps it still works fine!

This is the final screen:
[ ![finalstep.png](/forum/attachment/52231) ](/forum/attachment/52231 "finalstep.png")

This is the translation:
[ ![language.png](/forum/attachment/52232) ](/forum/attachment/52232 "language.png")

I don't get it, can it be te outdated PHP???

- [ ![finalstep.png](/forum/attachment/52231) ](/forum/attachment/52231 "finalstep.png") [ ](/forum/attachment/52231?download=1 "finalstep.png")
- [ ![language.png](/forum/attachment/52232) ](/forum/attachment/52232 "language.png") [ ](/forum/attachment/52232?download=1 "language.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMTk4My1zdWRkZW5seS1hLXBheW1lbnQtaXMtYWRkZWQtdG8tb3VyLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14327
-
-

5 years 8 months ago [\#330511](#330511) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#330511 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

Hi,

Ah I see, the dropdown adds back the payment method as it doesn't find it anymore. So the code works but it's the bit after which is problematic.
Try to also change the line: Code:

echo $this-&gt;paymentPluginType-&gt;display('new_payment_method', $this-&gt;order-&gt;order_payment_method, $this-&gt;order-&gt;order_payment_id, false);

to: Code:

echo $this-&gt;paymentPluginType-&gt;display('new_payment_method', array(), 0, false);

in that same view file.

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

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

Less More

- Posts: 92
- Thank you received: 3
-
-

5 years 8 months ago [\#330561](#330561) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#330561 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

Ah Yes! That is working fine! Thank you.

Did you see my comment about the testversion? Can all this be because of the outdated version of PHP?
I am trying to urge my provider to upgrade...

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

5 years 8 months ago [\#330601](#330601) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[suddenly a payment is added to our checkout.](/forum/27-checkout/901983-suddenly-a-payment-is-added-to-our-checkout#330601 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.1.33  Hi,  We use hikashop to sell activities. In our case, we let people make a reservation (so at check out, they provide us with their information). We get notified (email from the hikashop extension) and when an activity is sure to go on, we sent our customers a payment link. So they don't have to pay at the moment they make te reservation (purchase).  Now suddenly, at the end of our checkout procedure, our customers get a payment page. I cannot think of anything that I changed, but I probably did..... Since COVID things are very slow, so I didn't notice this before....  Where should I change this, I cannot find the change.")*

Hello,

If upgrading your PHP version didn't do the job, can you give us more information about it through some screenshots for example so that we can properly understand it and advise you ? Thank you.

Kind regards,
Mohamed.

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

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