Payment Processing in “Doula Course” Plugin

The current payment functionality of the “Doula Course” plugin is as follows.

A payment is typically initiated from one of three sources:

  1. Our public-facing website ( as a new monthly subscription.
  2. A recurring monthly subscription initialized by PayPal’s subscription service.
  3. A one-time payment made by our alumni to renew their certification.

In all actuality, there is no filters on any incoming payments made to our business’s PayPal account, so any form of payment can trigger our “ipn_relay” script which PayPal calls whenever a payment is made to our account.

The “ipn_relay” script does filter out only payments, meaning that any other IPN notices (such as new subscriptions, delays, suspension, cancellations, or anything else) are ignored.

Additional actions of the “ipn_relay” script are as follows:

  • A temporary IPN record is stored in the database. (IPN records older than two days are purged.)
  • A new user (and user_id) is created if no user is associated with the PayPal email address (PayPal email address is stored as user_meta field).
  • A transaction record is created based on the data sent from the IPN, which includes a user_id.
  • Emails receipts of the transaction are sent both to the user and to the administrator.

Note: several objects are created to attend to the details of the work of creating users, transactions, and emails.

Mentor/Apprenticeship Available

Photo by Ketut Subiyanto from Pexels

(Summer 2021)

I am interested in teaching one or multiple individuals the web design and development skills that I have learned over the past 14 years as a full-stack web developer. My intentions in doing so are also to scout out a potential replacement for my part as a code developer for our online doula training business.

Here’s a brief overview of what you will learn:

  • Website Design
    • Responsive Design
    • HTML
    • CSS
  • Webs Development
    • PHP and OOP/OOD (Object Oriented Programming/Design)
    • SQL – Databases
    • WordPress (code/plugin development)
    • Server Management
    • Git/GitHub
  • And Much More…
    • SEO – Search Engine Optimization
    • Payment Processing (PayPal/Stripe)
    • APIs – Application Programming Interfaces
    • Email Marketing
    • and so on…

This will initially start out as a unpaid position or positions. (Think of this as free one-on-one code camp for anyone interested in learning the nuts and bolts of web design and development.)

Potential candidates will need access to their own computer if remote from our home office (Marshall, Missouri). Local candidates may have access to company equipment.

To learn more about this opportunity, call or text Brent @ 801-372-2610, or use our contact form.

Removing the “From: ” Text in the Email Sender Field

I’m working on email functionality throughout the WordPress Multisites network that I am using. Recently, we also adopted a new transactional email solution through a company called Socket Labs. I will explain more why we transitioned from more popular solutions to Socket Labs in a later post.

To use the Socket Labs service with my websites, I installed their plugin. I was running into an issue with their plugin which actually revealed an issue with my code which appears to be employing a deprecated (obsolete) practice related to the wp_mail() function.

Continue reading “Removing the “From: ” Text in the Email Sender Field”

An Introductory Post

My journey in business has brought me to here: an entrepreneur who currently operates a website that trains women ( and a few men ) to become professionals in childbirth and labor support.

I spend most of my days presently in code development on plugins for WordPress Multisite to achieve the objectives of our business. My wife and a small team of trainers runs the education side of the business. We’re not exactly solvent in our business yet, but we hope to be there soon.

Continue reading “An Introductory Post”