A Simple Interface For Taking Payments Via Stripe

I don’t find it easy to take days off and the Holiday season was ripe for accomplishing something I’d planned to do for some time — build a feature into my site that enabled my clients to pay my invoices with a debit or credit card if they wanted to. With most people using direct payment via their bank accounts, this hasn’t been high on my list of priorities, but I do occasionally have clients in the US and Canada, so I decided that ticking it off my ever-growing list of “nice to haves” was a good way to start 2017.

I’ve worked with Stripe before — I fell in love with it last year, when I ditched the clunky FuturePay (by WorldPay) and built a custom system for managing my clients hosting payments by subscription.

The finished page for invoice payments worked perfectly, but I wasn’t entirely happy with it, because it felt like a hack that I’d rammed into my site and that’s NEVER good enough in my book.

After a chunk more work, the payment page I’d built for myself looked and worked exactly the same, but it had evolved into a self contained plugin that can be dropped into any WordPress site and give the owner the same ability that I now have; taking card payments for invoices online via the totally brilliant Stripe API.

It doesn’t get much simpler than this — get the details of the payment from the client,

Slikkr Stripe Payments - get the payment details

let the client check the details they’ve provided,

Slikkr Stripe Payments - let the client check the payment details

submit the details and process the transaction,

Slikkr Stripe Payments - submit the details and process the transaction

say “thank you” and send a receipt.

Slikkr Stripe Payments - say "thank you" and send a receipt

Using settings screens in the WordPress admin panel, the payment screen is customised with the site owner’s logo and an email address can be specified for receipt of payment notifications (if none is entered on this screen, the WordPress admin email is used) .

Slikkr Stripe Payments - the payment screen is customised with the site owner's logo and a separate email address for payment notifications

The plugin can be put into test mode for… well… testing purposes!

Slikkr Stripe Payments - API keys and test mode switch

If you’re interested in having Slikkr Stripe Payments on your WordPress site, get in touch!

About The Author: Sarah

Sarah Cox - Freelance WordPress And Front End Web Developer

Freelance WordPress and frontend web developer since January 1999.

I’m obsessed with Jaws, love dogs, like peach bellinis and black roses and I play with knives. And I bake hobnobs.

Too many pairs of shoes (apparently).

Bit gobby :o)