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

#   User not enabled if he doesn't pay yet

##

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

Less More

- Posts: 80
- Thank you received: 0
-
-

12 years 4 months ago [\#158132](#158132) by [leonora](/forum/user/31459-leonora "View leonora's Profile")  *[User not enabled if he doesn't pay yet](/forum/25-install-update/868630-user-not-enabled-if-he-doesnt-pay-yet#158132 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : essential -- Joomla version -- : 3.1 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  When the user buys with bank transfer and before he pays, he becames registered joomla's user.  The problem is that this user becames moodle's user too and if he doesn't pay, he will be able to entry at the moodle platform.  I need that the user becames blocked joomla's while he has not payd, and the administrator could change his state from blocked to enabled when he has made the payment.  Thanks in advance. Leonora.")* was created by *[leonora](/forum/user/31459-leonora "View leonora's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : essential
-- Joomla version -- : 3.1
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi,

When the user buys with bank transfer and before he pays, he becames registered joomla's user.

The problem is that this user becames moodle's user too and if he doesn't pay, he will be able to entry at the moodle platform.

I need that the user becames blocked joomla's while he has not payd, and the administrator could change his state from blocked to enabled when he has made the payment.

Thanks in advance.
Leonora.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2ODYzMC11c2VyLW5vdC1lbmFibGVkLWlmLWhlLWRvZXNudC1wYXkteWV0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14270
-
-

12 years 4 months ago [\#158195](#158195) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[User not enabled if he doesn't pay yet](/forum/25-install-update/868630-user-not-enabled-if-he-doesnt-pay-yet#158195 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : essential -- Joomla version -- : 3.1 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  When the user buys with bank transfer and before he pays, he becames registered joomla's user.  The problem is that this user becames moodle's user too and if he doesn't pay, he will be able to entry at the moodle platform.  I need that the user becames blocked joomla's while he has not payd, and the administrator could change his state from blocked to enabled when he has made the payment.  Thanks in advance. Leonora.")*

Hi,

What you're requesting is not technically possible.
That's because if we block the user account, he won't be able to log on the checkout and thus the checkout will display again the registration form and thus he won't be able to finish the checkout.

No, you want a different solution in your case I think. You should have your moodle content available only to some user group(s) (moodle roles that can be synchronized with joomla's user groups with Joomdle) and manually add the user group(s) to the user after the payment is received. In fact, you could even automate that process with the "user group after purchase" option of products in the Business edition, allowing HikaShop to add a group to the user after the purchase of a product is confirmed.

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

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

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

Less More

- Posts: 80
- Thank you received: 0
-
-

11 years 6 months ago [\#197413](#197413) by [leonora](/forum/user/31459-leonora "View leonora's Profile")  Replied by *[leonora](/forum/user/31459-leonora "View leonora's Profile")* on topic *[User not enabled if he doesn't pay yet](/forum/25-install-update/868630-user-not-enabled-if-he-doesnt-pay-yet#197413 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : essential -- Joomla version -- : 3.1 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  When the user buys with bank transfer and before he pays, he becames registered joomla's user.  The problem is that this user becames moodle's user too and if he doesn't pay, he will be able to entry at the moodle platform.  I need that the user becames blocked joomla's while he has not payd, and the administrator could change his state from blocked to enabled when he has made the payment.  Thanks in advance. Leonora.")*

Hi
I'm opening this topic again.

When you say: "You should have your moodle content available only to some user group(s) (moodle roles that can be synchronized with joomla's user groups with Joomdle) ..." I'm trying to do that but I don't find the way.

I have created two Joomla's groups (students and teachers) and I have configurated joomdle in Moodle by setting the option "User joomla users group" to Yes.

But when a new user is registered he can login in Moodle before the payment.

Could you give me any idea to solve it?

Thanks in advance!
Leonora

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2ODYzMC11c2VyLW5vdC1lbmFibGVkLWlmLWhlLWRvZXNudC1wYXkteWV0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14270
-
-

11 years 6 months ago [\#197450](#197450) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[User not enabled if he doesn't pay yet](/forum/25-install-update/868630-user-not-enabled-if-he-doesnt-pay-yet#197450 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : essential -- Joomla version -- : 3.1 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi,  When the user buys with bank transfer and before he pays, he becames registered joomla's user.  The problem is that this user becames moodle's user too and if he doesn't pay, he will be able to entry at the moodle platform.  I need that the user becames blocked joomla's while he has not payd, and the administrator could change his state from blocked to enabled when he has made the payment.  Thanks in advance. Leonora.")*

Hi,

This is the documentation of Joomdle which talks about synchronizing the Joomla user groups with Joomdle's:
[ www.joomdle.com/wiki/Usergroups](http://www.joomdle.com/wiki/Usergroups)
Now regarding the use of the roles themselves in Joomdle so that the users can only see what you want them to see based on their role, Moodle has some documentation about that here:
[ docs.moodle.org/28/en/Assign\_roles](https://docs.moodle.org/28/en/Assign_roles)
However, I've never used Moodle or Joomdle so I'm just talking about what I can read online. Regarding the setup of Moodle, I would recommend that you ask on Moodle/Joomdle.
It's normal that the user can login in Moodle before the payment. But it should not have access to anything. Then, you would have HikaShop add him to the Joomla user group after the payment which would then add a new role to his user account in Joomdle, which would then give him access to the course he purchased in HikaShop. It least, that's how I understand it would work.

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

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

[](#top)
