GithubHelp home page GithubHelp logo

jitendrapurohit / com.drastikbydesign.stripe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drastik/com.drastikbydesign.stripe

0.0 2.0 0.0 661 KB

CMS Independent Stripe payment processor for CiviCRM 4.x

License: Other

PHP 97.26% JavaScript 2.70% Smarty 0.05%

com.drastikbydesign.stripe's Introduction

CiviCRM Stripe Payment Processor

Version 1.8+ of this extension must use Stripe's latest API version (at least 2013-12-03).
Go to Account Settings -> API Keys tab -> click Upgrade available button.
More info on how to change: https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api

CONFIGURATION

All configuration is in the standard Payment Processors settings area in CiviCRM admin.
You will enter your "Publishable" & "Secret" key given by stripe.com.

WEBHOOK & RECURRING PAYMENTS

The Webhook.php file is registered to the path of civicrm/stripe/webhook
You will have to make a Webhook rule in your Stripe.com account and enter this path for recurring charges to end!
For Drupal: https://example.com/civicrm/stripe/webhook
For Joomla: https://example.com/index.php/component/civicrm/?task=civicrm/stripe/webhook
For Wordpress: https://example.com/?page=CiviCRM&q=civicrm/stripe/webhook

If you have multiple Stripe accounts on your site, you will need to specify the payment processor ID in the webhook URL. To find the ID, look at the URL when you are editing the payment processor in CiviCRM: it should include id=XX, where XX is your payment processor ID. Add a URL parameter of ppid=XX to the webhook URL. For example, for a payment processor ID of 3, use the following: For Drupal: https://example.com/civicrm/stripe/webhook?ppid=3 For Joomla: https://example.com/index.php/component/civicrm/?task=civicrm/stripe/webhook&ppid=3 For Wordpress: https://example.com/?page=CiviCRM&q=civicrm/stripe/webhook&ppid=3

INSTALLATION

For CiviCRM 4.4 & up:

  1. Your CiviCRM 'Resource URLs' must be set to the extensions directory
    relative to Drupal/CRM base. Example: /sites/all/civicrm_extensions/
    NOT the full server path like /var/www/sites/all/civicrm_extensions/
    The admin page for Resource URLs is: /civicrm/admin/setting/url

  2. Install extension via CiviCRM's "Manage Extensions" page.

CANCELLING RECURRING CONTRIBUTIONS

You can cancel a recurring contribution from the Stripe.com dashboard. Go to Customers and then to the specific customer. Inside the customer you will see a Subscriptions section. Click Cancel on the subscription you want to cancel. Stripe.com will cancel the subscription and will send a webhook to your site (if you have set the webhook options correctly). Then the stripe_civicrm extension will process the webhook and cancel the Civi recurring contribution.

GOOD TO KNOW

  • The stripe-php package has been added to this project & no longer needs to be
    downloaded separately.
  • You do not need the separate civicrm_stripe CMS module for 4.2 & up
  • There will no longer be branches for each version. The branches will be:
    • Civi's major.minor-dev, and we will create releases (tags) for each new release version.
      • Example: 4.6-dev.

AUTHOR INFO

Joshua Walker
http://drastikbydesign.com
https://drupal.org/user/433663

MAINTAINER INFO

Peter Hartmann https://blog.hartmanncomputer.com

OTHER CREDITS

For bug fixes, new features, and documentiation, thanks to: rgburton, Swingline0, BorislavZlatanov, agh1, & jmcclelland

com.drastikbydesign.stripe's People

Contributors

drastik avatar h-c-c avatar eransch avatar agh1 avatar borislavzlatanov avatar jmcclelland avatar laryn avatar rgburton avatar dawnthorn avatar mattwire avatar anemirovsky avatar eileenmcnaughton avatar relldoesphp avatar andy-walker avatar kurund avatar w3geekery avatar joemurray avatar monishdeb avatar ginkgomzd avatar scardinius avatar

Watchers

James Cloos avatar Jitendra Purohit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.