Skip to content

Commit c4260a5

Browse files
Fix: support invoice creation without line items. Stripe. (#16392)
* Update Stripe SDK API version to support invoice creation without line items * versions * pnpm-lock.yaml * update apiVersion for create-invoice only --------- Co-authored-by: michelle0927 <michellelbergero@hotmail.com>
1 parent 0363964 commit c4260a5

File tree

57 files changed

+59
-59
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+59
-59
lines changed

components/stripe/actions/cancel-or-reverse-payout/cancel-or-reverse-payout.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "stripe-cancel-or-reverse-payout",
55
name: "Cancel Or Reverse a Payout",
66
type: "action",
7-
version: "0.1.0",
7+
version: "0.1.1",
88
description: "Cancel or reverse a [payout](https://stripe.com/docs/payouts). " +
99
"A payout can be canceled only if it has not yet been paid out. A payout can be reversed " +
1010
"only if it has already been paid out. Funds will be refunded to your available balance. [See" +

components/stripe/actions/cancel-payment-intent/cancel-payment-intent.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "stripe-cancel-payment-intent",
66
name: "Cancel a Payment Intent",
77
type: "action",
8-
version: "0.1.0",
8+
version: "0.1.1",
99
description: "Cancel a [payment intent](https://stripe.com/docs/payments/payment-intents). " +
1010
"Once canceled, no additional charges will be made by the payment intent and any operations " +
1111
"on the payment intent will fail with an error. For payment intents with status=" +

components/stripe/actions/capture-payment-intent/capture-payment-intent.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "stripe-capture-payment-intent",
66
name: "Capture a Payment Intent",
77
type: "action",
8-
version: "0.1.0",
8+
version: "0.1.1",
99
description: "Capture the funds of an existing uncaptured payment intent. [See the " +
1010
"docs](https://stripe.com/docs/api/payment_intents/capture) for more information",
1111
props: {

components/stripe/actions/confirm-payment-intent/confirm-payment-intent.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "stripe-confirm-payment-intent",
66
name: "Confirm a Payment Intent",
77
type: "action",
8-
version: "0.1.0",
8+
version: "0.1.1",
99
description: "Confirm that your customer intends to pay with current or provided payment " +
1010
"method. Upon confirmation, Stripe will attempt to initiate a payment. [See the " +
1111
"docs](https://stripe.com/docs/api/payment_intents/confirm) for more information",

components/stripe/actions/create-customer/create-customer.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "stripe-create-customer",
66
name: "Create a Customer",
77
type: "action",
8-
version: "0.1.0",
8+
version: "0.1.1",
99
description: "Create a customer. [See the docs](https://stripe.com/docs/api/customers/create) " +
1010
"for more information",
1111
props: {

components/stripe/actions/create-invoice-item/create-invoice-item.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "stripe-create-invoice-item",
66
name: "Create Invoice Line Item",
77
type: "action",
8-
version: "0.1.0",
8+
version: "0.1.1",
99
description: "Add a line item to an invoice. [See the " +
1010
"docs](https://stripe.com/docs/api/invoiceitems/create) for more information",
1111
props: {

components/stripe/actions/create-invoice/create-invoice.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "stripe-create-invoice",
66
name: "Create Invoice",
77
type: "action",
8-
version: "0.1.0",
8+
version: "0.1.1",
99
description: "Create an invoice. [See the docs](https://stripe.com/docs/api/invoices/create) " +
1010
"for more information",
1111
props: {
@@ -81,7 +81,7 @@ export default {
8181
},
8282
},
8383
async run({ $ }) {
84-
const resp = await this.app.sdk().invoices.create({
84+
const resp = await this.app.sdk("2022-11-15").invoices.create({
8585
...pick(this, [
8686
"customer",
8787
"subscription",

components/stripe/actions/create-payment-intent/create-payment-intent.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "stripe-create-payment-intent",
66
name: "Create a Payment Intent",
77
type: "action",
8-
version: "0.1.0",
8+
version: "0.1.1",
99
description: "Create a [payment intent](https://stripe.com/docs/payments/payment-intents). [See" +
1010
"the docs](https://stripe.com/docs/api/payment_intents/create) for more information",
1111
props: {

components/stripe/actions/create-payout/create-payout.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "stripe-create-payout",
66
name: "Create a Payout",
77
type: "action",
8-
version: "0.1.0",
8+
version: "0.1.1",
99
description: "Send funds to your own bank account. Your Stripe balance must be able to cover " +
1010
"the payout amount, or you'll receive an 'Insufficient Funds' error. [See the " +
1111
"docs](https://stripe.com/docs/api/payouts/create) for more information",

components/stripe/actions/create-price/create-price.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "stripe-create-price",
55
name: "Create Price",
66
description: "Creates a new price for an existing product. The price can be recurring or one-time. [See the documentation](https://stripe.com/docs/api/prices/create)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
app,

0 commit comments

Comments
 (0)