Tutorials

Integrate Mailchimp Newsletter Subscriptions with PHP

  • December 20, 2016
Integrate Mailchimp Newsletter Subscriptions with PHP

In this tutorial, we will discuss how to integrate one of the most popular mailing list services with PHP. Installation As most modern Web service providers do, MailChimp offers an SDK for their API. Let's install it through Composer: composer require drewm/mailchimp-api After installing the library through Composer, instantiate the class: <?php require("vendor/autoload.php"); use \DrewM\MailChimp\MailChimp; $mc = new MailChimp('api_key_goes_here'); $mc is the object which we will use to send requests to the API. Subscribe Users To subscribe a user to the list, we will need a form...

Read more

Integrate Bitcoin Payments with PHP

  • November 26, 2016
Integrate Bitcoin Payments with PHP

As the usage of Bitcoin as a payment method is growing, many companies have started accepting payments in this virtual currency. More than 100,000 companies are currently accepting Bitcoin (some of them are large and well-known, such as Microsoft and Dell), making it the most popular virtual currency today. Let's see how it works and how to accept payments in Bitcoins in your Web application. How Does Bitcoin Work? Bitcoin is a digital currency and payment system that enables peer-to-peer transactions between users. That means that there is no intermediary in the transactions. However, all transactions...

Read more

Integrate a Stripe Payment Gateway with PHP

  • October 26, 2016
Integrate a Stripe Payment Gateway with PHP

Stripe is a payment gateway that is becoming increasingly popular in the Web industry. It offers payment processing services, which can be easily integrated into your Web application using the Stripe API. Although it is not free (2.9% + 30 cents per transaction), Stripe saves time and reduces cost in many ways: seamless integration and good documentation reduces the amount of time and development hours needed, while it offers complete control over sensitive data which saves hundreds of thousands of dollars that would otherwise be spent on ensuring PCI compliance. Since we have clarified the why,...

Read more