Giter Site home page Giter Site logo

arcadier / webhooks-event-triggers-and-vetting Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 92 KB

:link: Arcadier Core event triggers and Custom event triggers built using JS and PHP

JavaScript 73.95% PHP 25.66% HTML 0.36% CSS 0.03%
arcadier marketplaces event-trigger webhook api

webhooks-event-triggers-and-vetting's Introduction

Webhooks & Event Triggers

Event Triggers (API)

Each time a specific Arcadier API is called, a POST request can be sent to your webhook with a payload containing relevant information about the event. More details here.

JS Custom Triggers (non-API):

For "non-API call" events, custom triggers can be created to detect events that happen on Arcadier's front-end. Here are some examples with sample code:

  • Category Creation - Script triggered on Admin Portal
  • Category Deletion - Script triggered on Admin Portal
  • Item Creation - Script triggered on Merchant Portal
  • Item Edit - Script triggered on Merchant Portal

Possible use for these triggers - Vetting by admin:

  • Item Creation - Script triggered on Merchant Portal. Admin needs to approve newly created items
  • Item Edit - Script triggered on Merchant Portal. Admin needs to approve recently edited items

How to install custom triggers

For example, if you want to install Item Creation as a plug-in.

  1. Download the repository
  2. Extract all the content of the zip file
  3. In the resulting extracted folder, fo to Item Creation folder.
  4. Compress admin and user together.
  5. The resulting zip file is what you upload to your developer dashboard.

webhooks-event-triggers-and-vetting's People

Watchers

 avatar  avatar

webhooks-event-triggers-and-vetting's Issues

Order update webhook

Hi guys, there are few requirements required us to write a custom payment plugin, however, from the webhook apis, there is no event when order is marked as completed from the admin dashboard so we can trigger to release payment to Seller

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.