Issue:
We have the following environment:
+ Magento 2.3.1,
+ BSS_B2bRegistration extension version 1.1.6.
+ BSS_ForceLogin version 1.0.4.
+ Amasty Reward Point
We have set a reward for customer registration, eg: 100 points for registration.
If we have B2bRegistration disable, ForceLogin enable, everything works correctly and registration points are created to the customer's account after registration.
If we have B2bRegistration enable (and set "Disable Regular Registration" to YES) and ForceLogin enable, then registration points will not be created at all.
Solution:
The root of problem:
We have checked and found that this is caused because the Amasty module uses event customer_register_success and checks some rules to apply point when registering B2b customer.
Whereas, our module Bss B2b Registration uses another event when registering B2b customer: "bss_customer_register_success"
Solution:
We would suggest that you should change event in this file /app/code/Bss/B2bRegistration/Controller/Account/CreatePost.php into default event (reward point is applied when registering customer)
Hence, please edit this file: /app/code/Bss/B2bRegistration/Controller/Account/CreatePost.php to get the reward point.
If you need any further assistance, please feel free to contact us.
We're more than happy to support you and let you get to know more about us.
BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.
We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.
Here are our best extensions:
- BSS Commerce’s Magento 2 B2B Extension simplifies wholesale operations with flexible pricing and advanced company management.
- BSS Commerce’s Magento 2 SEO Extension boosts search visibility and drives more organic traffic with powerful optimization features.
Discover for more at: https://bsscommerce.com/magento-2-extensions.html
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article