We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9932ba4 commit 629d5bcCopy full SHA for 629d5bc
components/stripe/actions/create-invoice/create-invoice.mjs
@@ -81,7 +81,7 @@ export default {
81
},
82
83
async run({ $ }) {
84
- const resp = await this.app.sdk().invoices.create({
+ const resp = await this.app.sdk("2022-11-15").invoices.create({
85
...pick(this, [
86
"customer",
87
"subscription",
components/stripe/stripe.app.mjs
@@ -656,9 +656,9 @@ export default {
656
_apiKey() {
657
return this.$auth.api_key;
658
659
- sdk() {
+ sdk(apiVersion = "2020-03-02") {
660
return stripe(this._apiKey(), {
661
- apiVersion: "2022-11-15",
+ apiVersion,
662
maxNetworkRetries: 2,
663
});
664
0 commit comments