How To Integrate Stripe Payment Gateway Using PHP

It's only fair to share...Share on Facebook0Share on Google+0Tweet about this on Twitter0Share on LinkedIn0Pin on Pinterest3Digg thisShare on StumbleUpon44

stripe payment php

There are lots of payment gateway available in the web market like PayPal, iTransact, Card Gate Plus, SagePay, ANZ eGate and many more. Today, we are going to introduce one of the most powerful payment gateway for Web and Mobile payment. Yes, we are talking about Stripe Payment Gateway.
Integration of Stripe payment gateway using PHP is very easy. Just follow few steps and it will be ready.

Stripe take care the processing and keeping client’s card data so no information of essence would be stored on our server and you would not have to comply with all the rules that come with storing credit/debit cards.

Step 1: Create an account on Stripe

Step 2: Login your account and go to Account setting for API Keys.


Step 3: Download the source code and replace the secret key in payment.php

 Step 4: Edit index.php file and replace with your Publishable Key

The test version does not entail any actual funds. However for testing you can use below mentioned detail:

Testing Card Number - 4242424242424242
CVV Number - 1234 
Card Expiry Date - Use any future date 


  1. By hina


    • Reply

  2. By Jemmy


Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">