All Projects → aquaron → Business-Stripe

aquaron / Business-Stripe

Licence: other
Perl bindings for Stripe payment system

Programming Languages

perl
6916 projects

Projects that are alternatives of or similar to Business-Stripe

react-native-stripe
Unofficial integration of the payment APIs from the Stripe SDK on react-native
Stars: ✭ 21 (+0%)
Mutual labels:  stripe, stripe-payment
module-stripe
Stripe Payments for Magento 2
Stars: ✭ 45 (+114.29%)
Mutual labels:  stripe, stripe-payment
commercejs-chopchop-demo
A Commerce.js starter kit for Next.js. A beautifully designed elegantly developed, end to end commerce experience for developers and agencies. Pre-integrated with Stripe. One-click deploy to Vercel.
Stars: ✭ 129 (+514.29%)
Mutual labels:  stripe
payment-form-modal
How to implement Stripe Elements within a modal dialog.
Stars: ✭ 108 (+414.29%)
Mutual labels:  stripe
netlify-lambda-function-example
An example Netlify Lambda function that processes payments with Stripe.
Stars: ✭ 93 (+342.86%)
Mutual labels:  stripe
charging-for-multiple-plan-subscriptions
Getting started with Stripe Elements and Stripe Billing to charge a customer for a monthly subscription with multiple items.
Stars: ✭ 54 (+157.14%)
Mutual labels:  stripe
wp-simple-pay-lite
Add high conversion Stripe payment forms to your WordPress site in minutes.
Stars: ✭ 31 (+47.62%)
Mutual labels:  stripe
saving-card-after-payment
Learn how to save a card for later reuse after making a payment
Stars: ✭ 78 (+271.43%)
Mutual labels:  stripe
SAAS-Starter-Kit-Pro
🚀A boilerplate for building Software-as-Service (SAAS) apps with Reactjs, and Nodejs
Stars: ✭ 313 (+1390.48%)
Mutual labels:  stripe
laravel-stripe-connect
🦓 Stripe Connect binding for Laravel
Stars: ✭ 73 (+247.62%)
Mutual labels:  stripe
firebase-mobile-payments
Firebase Cloud Functions to create payments in native Android and iOS applications.
Stars: ✭ 48 (+128.57%)
Mutual labels:  stripe
discourse-subscriptions
A Discourse plugin that allows payments and subscription management via Stripe.
Stars: ✭ 24 (+14.29%)
Mutual labels:  stripe
nean-stack-starter
neo4j, express, angular, node
Stars: ✭ 30 (+42.86%)
Mutual labels:  stripe
proof-of-kyc
An NFT that proves you've gone through an identity verification process, powered by Stripe Identity.
Stars: ✭ 78 (+271.43%)
Mutual labels:  stripe
ethibox
Open-source web apps hoster
Stars: ✭ 130 (+519.05%)
Mutual labels:  stripe
nextjs-woocommerce-restapi
A React WooCommerce Project Example With REST API
Stars: ✭ 168 (+700%)
Mutual labels:  stripe
invoicing
GetPaid (Formerly the Invoicing plugin) is a lightweight Payments and Invoicing system for WordPress. It can be used to sell anything online via payment forms or buy now buttons that can be added to any landing page. It can also be used by freelancers to manage their Invoices or by 3rd party Themes and Plugins as their payment system. GeoDirecto…
Stars: ✭ 34 (+61.9%)
Mutual labels:  stripe
cashier-register
Cashier Register is a simple quota feature usage tracker for Laravel Cashier subscriptions.
Stars: ✭ 93 (+342.86%)
Mutual labels:  stripe
netlify-stripe-subscriptions
An example of managing subscriptions with the Stripe Customer Portal and Netlify Identity.
Stars: ✭ 96 (+357.14%)
Mutual labels:  stripe
marketplace
A file sharing website using Laravel 5.5
Stars: ✭ 19 (-9.52%)
Mutual labels:  stripe

Business::Stripe

This module provides common Perl 5 bindings to the Stripe payment system with minimal dependencies and overhead.

Any API calls that do not have bindings can be easily accessed through the generic api method.

Basic Usage

    my $stripe = Business::Stripe->new(
        -api_key => 'your-api-key-here',
    );

    ## get the payment token from Stripe.js, then:
    my $success = $stripe->charges_create(
        amount         => 400,  # in cents
        source         => $token_from_stripe_js,
        description    => 'Ice cream'
    );

    if ($success) {
        return $stripe->success();  # <-- the returned JSON structure
    }
    else {
        die $stripe->error->{message};
    }

    my $customer = $stripe->api('post', 'customers',
        email       => '[email protected]',
        name        => 'Jane S. Customer',
        description => 'Displayed alongside the customer on your dashboard',
        source      => $token_id,
    ) and $stripe->success;
    die $stripe->error unless $customer;

Please refer to Business::Stripe's complete documentation for more examples and thorough documentation. After installation, the same documentation may be accessed on your terminal by typing:

perldoc Business::Stripe

on your terminal.

Installation

To install this module via cpanm:

> cpanm Business::Stripe

Or, at the cpan shell:

cpan> install Business::Stripe

If you wish to install it manually, download and unpack the tarball and run the following commands:

perl Makefile.PL
make
make test
make install

Of course, instead of downloading the tarball you may simply clone the git repository:

$ git clone git://github.com/aquaron/Business-Stripe.git

Finally, you can also just download Stripe.pm and include it as part of your distribution (though in this case you should probably rename it to something like BusinessStripe.pm).

LICENSE AND COPYRIGHT

Copyright (C) 2012-2019 Aquaron. All Rights Reserved.

This program and library is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.

See http://dev.perl.org/licenses/ for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].