Giter Club home page Giter Club logo

payment-stripe's Introduction

Corals Payment Stripe

Stripe Product Manager is the first Laravel Plugin is the first Laravel Plugin for Stripe Products Integration. integrate Stripe Products with Laravel Platform.

  • Stripe has two environments Sandbox and Live, make sure to use sandbox for testing before going live

  • Under Subscription -> Payment Settings you need to add your stripe account keys which can be grabbed from your stripe account :

 

 

 

  • Webhooks Subscription Events:
'invoice.created' => \Corals\Modules\Payment\Stripe\Job\HandleInvoiceCreated::class,
'invoice.payment_succeeded' => \Corals\Modules\Payment\Stripe\Job\HandleInvoicePaymentSucceeded::class,
'invoice.payment_failed' => \Corals\Modules\Payment\Stripe\Job\HandleInvoicePaymentFailed::class,
'customer.subscription.deleted' => \Corals\Modules\Payment\Stripe\Job\HandleCustomerSubscriptionDeleted::class,
'customer.subscription.trial_will_end' => \Corals\Modules\Payment\Stripe\Job\HandleCustomerTrialWillEnd::class,

Enable Stripe Connect:

The stripe connect can be used to enable auto payout for vendors under Laraship Marketplace, this works by having vendors connecting their stripe to Laraship platform’s main Stripe account, and their payments will be transferred upon purchases, so no manual withdrawals needed. also once order cancelled the transfer will be reversed from the vendor account automatically.

 

  • To Enable Stripe Connect, go to Payments – Payment Settings – Stripe

  • Activate Stripe Connect and insert Client ID as shown below

 

The client ID can be obtained from https://dashboard.stripe.com/settings/applications

  • Add Redirect URL to connect settings under Stripe, it should be {{doamin}}/stripe/authorize-connect

 

  • The vendor Should see a new tab under Store Settings, which will list the Stripe Connect link to connect to, click on “Connect with Stripe”, this will go through Stripe linking process

 

  • once you complete the Stripe connect process you will be redirected to Laraship Platform and Stripe connect status will be turned to Connected

 

 

  • After that, Any order amount made for this vendor from orders will be transferred automatically to the Vendor stripe account after deducting the fees.

 

Installation

You can install the package via composer:

composer require corals/payment-stripe

Testing

vendor/bin/phpunit vendor/corals/payment-stripe/tests 

Questions & Answers

If you faced any issue you can check our questions center, and you can post your question from the following link Questions & Answers

Online Documentation

follow the Online Docs to see more about this module

Hire Us

Looking for a professional team to build your success and start driving your business forward. Laraship team ready to start with you Hire Us

payment-stripe's People

Contributors

abdullarayyan avatar dependabot[bot] avatar enasasmar avatar github-actions[bot] avatar moayad943 avatar saeed-corals avatar

Stargazers

 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.