Public Ticket #3511115

invoice gateway

Closed
Comments
4 Tickets 7
Anette started the conversation 3 years ago on October 30, 2023 at 3:11pm

we have a hybrid shop B2B + B2C - and one of the pages/categories requires a password to access. the category is set to be visible to both B2C users as well as the assigned group ( Juleshop 2023). In the group i have set up the payment to be invoice only.

7959858522.png

My question is - how do i make this rule the to be active when i also allow B2C users to login to this site/category. -it seems the B2C generel payment rules dominate.

7748526880.png


If I disable the B2C users - the products/kategory is not visible when entering the password giving access to the page.

4801253446.png

I hope you can help me out, many thanks in advance

rgds

Anette Lilja

2,762
KingsPlugins replied 3 years ago on October 30, 2023 at 3:24pm

Hi Anette,

Are you looking for a way to enable the invoice gateway, for B2C users, but only for this specific page/category ?

Did I understand that correctly?


Unfortunately we do not yet have a way in the plugin to have payment methods depending on which products / categories are being purchased. 

The only similar feature we have for this is a feature to enable / disable methods based on a minimum or maximum order (For example you can set a rule that the invoice gateway is only usable for orders > $1000).


Another option could be to replace purchasing with quotes for this category. Then instead of purchasing directly, users would add items in that category to a quote and send a quote request (and then you could manually discuss with them, send an invoice, etc).


Let me know your thoughts,


Kind regards,

Stefan

4 Tickets 7
Anette replied 3 years ago on October 30, 2023 at 3:55pm

Hi Stefan

so when i create a group - juleshop 2023 - and set the payment to invoice only, and i assign this group the the wanted page/category - I can not make that group rules to be the dominating - and "over rule" the b2c rules ?

if i only make the page/category visible to the group -juleshop 2023 - do i then have to give people access by user role definition?  (like i do in our private shops). 

Is this maybe possible with a snippet ?

rgds

Anette

2,762
KingsPlugins replied 3 years ago on October 30, 2023 at 4:01pm

If you have a group, juleshop 2023, and this group is set to have 'invoice only', this group should only have the invoice method on all purchases. It would not matter that there is another group or b2c etc with different methods. 

All users in the group juleshop 2023 should only have the invoice method available.

Is the problem that you have a user in this group, but the user is seeing Mobilepay/Quickpay, not just invoice?


Maybe it's easier if you can share a temporary access to the site and give me an example of the issue.

4 Tickets 7
Anette replied 3 years ago on October 30, 2023 at 4:10pm

everyone schould be able to access the - juleshop 2023 - with a password. and all purchases will be by invoice only. my challenge is how people can access without me giving them acess by user role definition. 

4 Tickets 7
Anette replied 3 years ago on October 30, 2023 at 4:18pm

when customers chose the christmas shop in the menu - they will be asked for at password to get in, and once in the shop they can make orders by invoice only - but when i make the page/category visible to the group - juleshop 2023 - only - then the products/category is not visible on the page.


1739066621.png
2,762
KingsPlugins replied 3 years ago on October 31, 2023 at 1:31am

Thank you, I can access the site,

What password are you using for that page?


but when i make the page/category visible to the group - juleshop 2023 - only - then the products/category is not visible on the page.

Users in the group juleshop 2023 cannot see products or categories on the page?

I'd be happy to check, perhaps there's a misconfiguration of the visibility.

1
4 Tickets 7
Anette replied 3 years ago on October 31, 2023 at 2:01pm

Hi Stefan

sorry

i did not see your question: Users in the group juleshop 2023 cannot see products or categories on the page?

The page/category - Juleshop 2023 - does not have any users, the shop is supposed to be available to anyone who uses the login: JUL2023 , and when checking out, the only payment option should be invoice payment - therefore i created the group  - juleshop 2023 - in order to make that the only option for checkout. 

Then if i make the category visible to juleshop 2023 only, the products are not visible to customers. If I then make the category visible to B2C customers as well as the group - then the group rules are "over ruled" by the standard B2C payment rules.

How do i get the group rule to be the active one and "over rule" the B2C standard.

-so that when checking out the only payment option is by invoice as defined in the group.

I hope this makes sence.

rgds

Anette

2,762
KingsPlugins replied 3 years ago on November 6, 2023 at 9:21am

Thank you for the link, I believe the backend issue is now solved,


Please also let me know whether the invoice gateway for juleshop is now working as you need it or not.

4 Tickets 7
Anette replied 3 years ago on November 6, 2023 at 9:25am

Hi Stefan

you are truly a wizard - ;) -i am back in ...

Many many many million thanks..

I will test the juleshop, and give you an update on how it works out... I am so gratefull for all your help.

Till then - enjoy your day.

rgds

Anette

1
4 Tickets 7
Anette replied 3 years ago on November 6, 2023 at 12:30pm

Hi Stefan

Amaizing work - thank you very much - the snippet works beautifully. :)

Can we copy this snippet to work on other pages/shops if we want other pages with same possibilities for check out. ?

rgds

Anette

1
2,762
KingsPlugins replied 3 years ago on November 6, 2023 at 2:41pm

Glad to hear that's working : ) 

We can make that snippet apply for multiple pages / categories. If you need that kind of change, just let me know which pages or categories.

1
4 Tickets 7
Anette replied 3 years ago on November 7, 2023 at 9:59am

That is brilliant. For now this is the only page/category we need to have this feature on, but i know we will need it for future projects. I will pin this ticket, at let you know next time we have the need for this.

we can close this one,

and once again... Thanks a million for all your help.

rgds

Anette

1
2,762
KingsPlugins replied 3 years ago on November 20, 2023 at 5:40pm

Hi Anette,

I have now updated the code snippet to make it apply to ELSINORE 2032 as well.

Let me know if you see any issues please,


Kind regards,

Stefan

1

Sign In