Coder Social home page Coder Social logo

helpfulrobot / i-lateral-silverstripe-checkout-stripe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from i-lateral/silverstripe-checkout-stripe

0.0 1.0 0.0 6 KB

Add stripe payments to the SIlverstripe Checkout

License: BSD 3-Clause "New" or "Revised" License

PHP 100.00%

i-lateral-silverstripe-checkout-stripe's Introduction

Silverstripe Checkout Stripe

Adds Stripe payment option to the checkout module.

Dependancies

Installation

Either install via composer:

i-lateral/silverstripe-checkout-stripe: *

Or download and install to the "checkout-stripe" directory in your project root.

Setup

Once installed you will need to add your API Keys (found in Stripe under "Account Settings").

Add all four these via Silverstripe config:

YML

StripePayment:
  test_secret_key: test_xyz
  test_publish_key: test_xyz
  live_secret_key: live_xyz
  live_publish_key: live_xyz

PHP

StripePayment::config()->test_secret_key = "test_xyz";
StripePayment::config()->test_publish_key = "test_xyz";
StripePayment::config()->live_secret_key = "live_xyz";
StripePayment::config()->live_publish_key = "live_xyz";

Now enable the stripe payment by logging into the CMS then visiting global site settings.

Now click the "Checkout" tab and under payment methods click "Add".

Now then select "Stripe" from the dropdown.

i-lateral-silverstripe-checkout-stripe's People

Contributors

mlewis-everley avatar

Watchers

 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.