Magento Paid user registration for Customer Group - magento

I have different types of Customer group (General, School, Publisher, Corporate). Customer select our Customer group on registration page from frontend.
But I need charge some amount ($100) when customer register as Publisher.
Please give any suggestion that how to implement.
Thanks.

If you want to charge a particular customer group for registration,
Rough flow will be as follows :
Catch an event at the <customer_register_success> observer.
Fetch Customer Model from observer event data.
Inspect if the customer's group belongs to "Publisher"
If it's Publisher, redirect them to checkout, you may provide payment option for this.
If the publisher is successful at payment, you need to remove pending status from his registration
Return to registration success page.
Notes.
You need to create virtual product for registration fee.
You need to create a pending step similar to confirmation email before the target customer group user activation

Related

Deciding on customer id and saving payment method after transaction in Braintree

I would like to have the following workflow on our website with Braintree payment gateway: a customer which is or isn't logged in pays with a credit card (using Braintree hosted fields). If the payment is successful and customer is not logged in, we offer him to login or register in order to save the payment method.
Unfortunately, that means that in Transaction.sale I cannot use the existing customer id, since the customer is not yet logged in our system. And after the transaction is complete, I cannot reuse payment nonce to create payment method and assign it to our customer.
One possibility I am considering is to always vault the payment method during transaction (with a new Braintree customer id) and than to assign this customer id to our user's account if he logs in. However, that can result in one user having multiple Braintree customer ids which would complicate later payments with saved cards. (Plus I have to vault a lot of fake customers and payment methods that will never be used again since majority of our customers never create user accounts.) Is there a better way?
Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.
You are correct. To achieve this flow you would need to create a new customer and payment method each time. The good news is that Transaction.sale does not require a customer id, just a payment method token, so you can associate the payment method token with your app's customer id and you won't need to maintain a relation to the customers in the Braintree control panel.
For clean up, you could do the following:
1) If the user declines the option to save the payment method, delete the customer and payment method token immediately.
2) If the user closes the application without making a decision one way or the other, you could have a periodic process to clean up unclaimed customers and payment method tokens.

Sales Representative

I have a question is about magento. i am making a webstore and getting 1 difficulty. i have created an attribute called SalesRep. for example if i register from the frontend. i will be in customer section at backend. their at backend admin will be able to select me as a sales rep or customer.
if admin select me as salesRep i will become sales rep. Now i want to shop from frontend on behalf of any customer. i should have facility for search customer name from the frontend. at frontend i should be able to shop using customer details. so i logged in and can select any customer who want to shop. and i will shop for this customer.
I hope i explain in full details if you looking for more information please let me know.
Is there any help. Thanks in Advance
Magento doesn't provide such functionality. Try this free plugin. With it installed you will be able to find a customer in backend, click a "login as a customer" button on customer view page and directly login as a customer in your frontend. Then you can do whatever you need on behalf of the customer, including shopping. However this plugin won't allow customers to pre-select admins who may login on their behalf, i.e. any admin would be able to login as any cusomer.
P.S.: I am not connected to the plugin developer in any other way than I am a happy user of this plugin :)

magento paymant after customer approve the product

I am working on a sticker development site in magento. The customer will choose any of the templates from the listed template, which is the produc. After customer choose a sticker template customer will add the design suggestion as a file or comments in the order. After checkout(without doing payment) admin will work on the design and upload for customer approval. The customer will do the payment only after he has approve the design upload by admin.
So in magento i need to do the payment only after the customer approve the design we are not doint the payment at the time of checkout. Is there any option like this in magento. I am using magento 1.9.
you can use the "preorder" function in Magento and set the product avaible for customer after the customer approval. The preorder part is a magento feature. You need to work on the avaible per customer product function.
Let me know if it was usefull.
filippo

Segregation of duties into Magento

Is it possible to have a Segregation Of Duties (SOD) in magento? For example an user can only search product and put them into the cart while another can only approve the order and proceed to the payment process.
One "build-in" approach would be to let the first users search and order but place the orders in a to-be-reviewd-status. For the second user a backend user which is limited to approve orders could be created. But then your customers would have access to parts of your backend.
In an own module, you could make this approving available on the frontend.

How to display different login pages for general customer and wholesaler in Magento?

I need to keep 2 login pages at frontend for general customer group and wholesaler customer group
And admin will confirm customer as wholesaler
So how to check customer has signed up as general or wholesaler
Please advise..
currently magento provide group for customer, so you can put dropdown of group in registration page for user to select for which group he want to sign up and in admin you can see the group assign to user.

Resources