This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.
To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.
New Order Created on Lemon Squeezy
Description:Emit new event when a new order is created.
Version:0.0.1
Key:lemon_squeezy-order-created
import { defineSource } from "@pipedream/types";
import common from "../common/base.mjs";
export default defineSource({
...common,
key: "lemon_squeezy-order-created",
name: "New Order Created",
description: "Emit new event when a new order is created.",
version: "0.0.1",
type: "source",
dedupe: "unique",
methods: {
...common.methods,
getFunc() {
return this.lemonSqueezy.listOrders;
},
getSummary({ id }) {
return `A new order with id ${id} was created!`;
},
},
});
This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
| Label | Prop | Type | Description |
|---|
| Lemon Squeezy | lemonSqueezy | app | This component uses the Lemon Squeezy app. |
timer | $.interface.timer |
| N/A | db | $.service.db | This component uses $.service.db to maintain state between executions. |
Lemon Squeezy uses API keys for authentication. When you connect your Lemon Squeezy account, Pipedream securely stores the keys so you can easily authenticate to Lemon Squeezy APIs in both code and no-code steps.
To connect Pipedream with your Lemon Squeezy account,
- Sign in to your Lemon Squeezy account
- Create a new API key here
- Paste that below
Lemon Squeezy is the all-in-one platform for running your SaaS business. Payments, subscriptions, global tax compliance, fraud prevention, multi-currency support, failed payment recovery, PayPal integration and more. We make running your software business easy peasy.