The Wrkshop Website
March 20, 2015
Last month I launched the Wrkshop website. Wrkshop is a little project I put together with the help of my friends and colleagues in the Austin area. I wanted to accept RSVP and payments without going to a third party provider. This meant I was going to use Craft CMS of course but I needed a solution for payments.
I found a nice plugin for integrating Stripe into Craft: Charge. Charge was only $45 and was already setup with the ability to add coupon codes. This was all I needed for the time being. The docs were a great resource for customizing my templates. You can find code examples and understand what attributes and functions are available for you to use.
This is my first time using Stripe to do payment processing. I have to say the month of using it has been super smooth. The only thing I had to configure in my Stripe dashboard was payment receipts and uploading an icon for Wrkshop. You can run Stripe in testing or live mode which the Craft Charge plugin makes very easy for you.
Securing my domain with an SSL certificate was other thing I needed to do before going live. Basically, I singed up at DigiCert and within 5 minutes got a call from a support person who helped me through the process. Once my cert was verified by DigiCert, I installed it on my server and set up a redirect. Here's what my virtual hosts config looks like for the redirect:
<VirtualHost *:80> ServerName wrkshop.co ServerAlias www.wrkshop.co Redirect / https://wrkshop.co/ DocumentRoot _PATH_/public/ ErrorLog _PATH_/logs/error.log CustomLog _PATH_/access.log combined </VirtualHost> <VirtualHost *:443> SSLEngine on SSLCertificateFile _PATH_/cert_name.crt SSLCertificateKeyFile _PATH_/cert_name.key SSLCertificateChainFile _PATH_/cert_name.crt ServerAdmin email@example.com ServerName wrkshop.co ServerAlias www.wrkshop.co DocumentRoot _PATH_/public/ ErrorLog _PATH_/logs/error.log CustomLog _PATH_/access.log combined </VirtualHost>