Planning your extension
Within this chapter we will build a payment extension for the Stripe payment gateway available at https://stripe.com. Unlike some other payment gateways, Stripe is fully developer-friendly, well-documented, and easy to implement. If you haven't already, now is the good time to:
Visit the Stripe web page and sign up for an account.
Once you sign up, follow the Stripe documentation for obtaining the API key (https://manage.stripe.com/account/apikeys). You will need a test secret key, which we will use later within Magento.
Additionally, you will need to obtain the PHP API library (
stripe-php-latest.zip
) available at https://stripe.com/docs/libraries. Once you unpack the downloaded archive, there should be aVERSION
file in it. The current version at the time of this writing is 1.8.0.Spend some time studying/navigating the documentation page, https://stripe.com/docs/tutorials/checkout, just to get an overview of things.
Please note that actual URLs might change throughout...