- Posts: 37
- Thank you received: 1
Workflow issue with Stripe sandbox
- Didier BRETTENACHER
- Topic Author
- Offline
- Junior Member
-
My workflow works perfectly with offline payments.
I test the payment with Stripe, in sandbox mode and there the workflow is blocked without generating errors:
- After validation of the form, I have the right message on the site.
- Stripe confirms to me that the payment is accepted.
- In MembershipPro, I see the new membership with status on Active, but there is no invoice.
- As a customer I do not receive any email.
Someone would have any idea ?
thanks in advance
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
You missed one step: Configure Stripe Webhook as states in the readme.txt file in the payment plugin:
If you use recurring subscription plans, you will need to login to your Stripe account, add a "Webhook URL" below:
domain.com/index.php?option=com_osmember...ent_method=os_stripe
(Of course, need to replace domain.com/ with your website url)
Please do that, then try again and let us know the result
Tuan
Please Log in or Create an account to join the conversation.
- Didier BRETTENACHER
- Topic Author
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 1
Thank-you for your quick reply !
I just tested and it works. However, I have 2 questions:
1. Now the invoice appears in MembershipPro, and, as a customer, I receive the thank you e-mail but not the Joomla account activation email.
2. I do not use a recurring subscription, so will this method not create a problem for my customers?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1. Could you please go to Membership Pro -> Configuration, make sure you set Send Activation Emails config option to Yes?
2. No, it won't cause any problem
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Didier BRETTENACHER
- Topic Author
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 1
This rule work fine for outline subscribers, when I validated the subscription they received 2 e-mails (Thank-you message with billing and Joomla account).
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
If you set Send Activation Emails config option to No, the system won't send activation email and it's expected behavior. You still want users to activate their account manually after making payment?
If so, you will need to set Send Activation Emails config option to Yes and set Auto Login to No
The reason is enable when you enable Auto Login, user will be logged in automatically but Joomla prevents logged in user from validating account.
Please do that and let us know if you need assist
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Didier BRETTENACHER
- Topic Author
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 1
Thank you for your responses and your help.
I just tested with the following options:
Send an activation email: YES
Auto Login: NO
As an administrator I can see the new user account that is not activated.
As a customer, I receive 2 emails, including the activation email. When I click on the activation link, I get a 403 error.
In Joomla user account option, the activation account option is on auto activation.
Please Log in or Create an account to join the conversation.
- Didier BRETTENACHER
- Topic Author
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 1
Send activation email: NO
Auto login: NO
It works: the account is created and activated after payment.
However, I would like the user to receive an email with their username and password (New User Details email). This is the current operation for offline payments.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
The error should be gone
Tuan
Please Log in or Create an account to join the conversation.
- Didier BRETTENACHER
- Topic Author
- Offline
- Junior Member
-
- Posts: 37
- Thank you received: 1
Many thanks for your help and support.
Have a good day !
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.