Show me da money! |
Seems like a good idea to me.
What we want (user experience):
- user already subscribed, opted in
- so maybe make payment 2 step of optin then pay, similar to clickfunnels
- Landing page with stripe button
- click
- they enter details
- we get cash
- they go to thank you page
- they get email (with links)
So what we need first is:
- stripe account
- mautic account
What we going to do is:
- make optin page
- make landing page with stripe
- make TY page
- make email sent
Not sure what happens after that...
2. Set up Stripe account
Here's what to do:
1. Make Payment Page- Make Mautic Landing Page
- then this
2. Set up Stripe account
- first this
- then this
3. Embed the Stripe Elements into page
This does the accept details bit
4. Get Mautic to actually send the details to stripe so actually get paid
That was pretty good...
This does the accept details bit
- Just paste the javascript chunk in
4. Get Mautic to actually send the details to stripe so actually get paid
- This I'm not too sure about...
That was pretty good...
Still Figuring:
I'm going to be very meticulous here so that if stuff up, can undo again.
1. Test the checkout page
Stripe tutorial: https://stripe.com/docs/checkout/tutorial
My checkout page: https://robstestinglab.mautic.net/automatic-mentor-payment-page
At this stage is only test stuff, no actual money or anything changing hands.
2. Do something to do with Mautic API
Something to do with composer, auth0 (whatever that is), stripe api, php?, also under settings
See here: https://github.com/mautic/api-library
Also here: https://www.mautic.org/blog/developer/how-to-use-the-mautic-rest-api/
And: https://www.mautic.org/community/index.php/6771-how-to-connect-mautic-through-its-rest-api-from-custom-php-or-c/0
Also here: https://stripe.com/docs/checkout/php
And here: https://stripe.com/docs/api?lang=php
Make plugin: https://www.mautic.org/blog/developer/how-to-create-a-mautic-plugin-tutorial-series-introduction/ and
-I think it's php, but not sure.
-Stripe uses REST
1. Test the checkout page
Stripe tutorial: https://stripe.com/docs/checkout/tutorial
My checkout page: https://robstestinglab.mautic.net/automatic-mentor-payment-page
At this stage is only test stuff, no actual money or anything changing hands.
- If fill in, use randomly "correct" email eg fksah@jsafkhas.com
- number must be: 4242 4242 4242 4242
- date: any time in future eg 10/20
- cvc: any 3 digits eg 123
- Takes to https://robstestinglab.mautic.net/your-server-side-code (at this stage is error page)
2. Do something to do with Mautic API
Something to do with composer, auth0 (whatever that is), stripe api, php?, also under settings
See here: https://github.com/mautic/api-library
Also here: https://www.mautic.org/blog/developer/how-to-use-the-mautic-rest-api/
And: https://www.mautic.org/community/index.php/6771-how-to-connect-mautic-through-its-rest-api-from-custom-php-or-c/0
Also here: https://stripe.com/docs/checkout/php
And here: https://stripe.com/docs/api?lang=php
Make plugin: https://www.mautic.org/blog/developer/how-to-create-a-mautic-plugin-tutorial-series-introduction/ and
-I think it's php, but not sure.
-Stripe uses REST
- first this
- then this
That was pretty good...
OK, to mautic dashboard - settings (cogwheel on top right) - configuration - api settings
API enabled? to yes. Will log you out, so log back in again.
Create new landing page - Automatic Mentor Checkout TY page
Login to stripe, then
https://stripe.com/docs/charges
OK, to mautic dashboard - settings (cogwheel on top right) - configuration - api settings
API enabled? to yes. Will log you out, so log back in again.
Create new landing page - Automatic Mentor Checkout TY page
Login to stripe, then
https://stripe.com/docs/charges
ReplyDeleteHello thanks for the documentary, and I would like to know if there is a video of this tutorial