Skip to content

infoway9/stripe-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stripe-php

PHP library for the Stripe API

Requirement

PHP 5.6

Composer

You can install via Composer. Run the following command: composer require stripe/stripe-php

To Use

require_once('vendor/autoload.php');
require_once('vendor/stripe/stripe-php/init.php');
Check the index.php for credit card payment.
Change the Stripe Secret Key in line number 48 in index.php
\Stripe\Stripe::setApiKey("YOUR_SECRET_KEY_HERE");

Sample card Number

Please use for test credit card

About

PHP library for the Stripe API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages