@@ -17,7 +17,7 @@ Returns all available information about a subscription. Will include the `start`
17
17
``` js
18
18
' use strict'
19
19
20
- const paddleIntegration = require (' @discue/paddle-firebase- integration' )
20
+ const paddleIntegration = require (' @discue/paddle-integration-mongodb ' )
21
21
const api = new paddleIntegration.Api ({ useSandbox: true , authCode: process .env .AUTH_CODE , vendorId: process .env .VENDOR_ID })
22
22
// pass the path to the collection here
23
23
const storage = paddleIntegration .subscriptionStorage ({ url: ' mongodb://localhost:27017' })
@@ -49,7 +49,7 @@ Returns list of payments for for all subscriptions associated with the given use
49
49
``` js
50
50
' use strict'
51
51
52
- const paddleIntegration = require (' @discue/paddle-firebase- integration' )
52
+ const paddleIntegration = require (' @discue/paddle-integration-mongodb ' )
53
53
const api = new paddleIntegration.Api ({ useSandbox: true , authCode: process .env .AUTH_CODE , vendorId: process .env .VENDOR_ID })
54
54
// pass the path to the collection here
55
55
const storage = paddleIntegration .subscriptionStorage ({ url: ' mongodb://localhost:27017' })
@@ -79,7 +79,7 @@ Returns list of payments for for all subscriptions associated with the given use
79
79
``` js
80
80
' use strict'
81
81
82
- const paddleIntegration = require (' @discue/paddle-firebase- integration' )
82
+ const paddleIntegration = require (' @discue/paddle-integration-mongodb ' )
83
83
const api = new paddleIntegration.Api ({ useSandbox: true , authCode: process .env .AUTH_CODE , vendorId: process .env .VENDOR_ID })
84
84
// pass the path to the collection here
85
85
const storage = paddleIntegration .subscriptionStorage ({ url: ' mongodb://localhost:27017' })
@@ -109,7 +109,7 @@ Will return the status for all subscriptions associated with the given user/api_
109
109
``` js
110
110
' use strict'
111
111
112
- const paddleIntegration = require (' @discue/paddle-firebase- integration' )
112
+ const paddleIntegration = require (' @discue/paddle-integration-mongodb ' )
113
113
const api = new paddleIntegration.Api ({ useSandbox: true , authCode: process .env .AUTH_CODE , vendorId: process .env .VENDOR_ID })
114
114
// pass the path to the collection here
115
115
const storage = paddleIntegration .subscriptionStorage ({ url: ' mongodb://localhost:27017' })
@@ -140,7 +140,7 @@ Cancels a specific subscription plan. The subscription plan id must be passed.
140
140
``` js
141
141
' use strict'
142
142
143
- const paddleIntegration = require (' @discue/paddle-firebase- integration' )
143
+ const paddleIntegration = require (' @discue/paddle-integration-mongodb ' )
144
144
const api = new paddleIntegration.Api ({ useSandbox: true , authCode: process .env .AUTH_CODE , vendorId: process .env .VENDOR_ID })
145
145
// pass the path to the collection here
146
146
const storage = paddleIntegration .subscriptionStorage ({ url: ' mongodb://localhost:27017' })
@@ -165,7 +165,7 @@ Updates a subscription plan. The previous one will be cancelled and the new one
165
165
``` js
166
166
' use strict'
167
167
168
- const paddleIntegration = require (' @discue/paddle-firebase- integration' )
168
+ const paddleIntegration = require (' @discue/paddle-integration-mongodb ' )
169
169
const api = new paddleIntegration.Api ({ useSandbox: true , authCode: process .env .AUTH_CODE , vendorId: process .env .VENDOR_ID })
170
170
// pass the path to the collection here
171
171
const storage = paddleIntegration .subscriptionStorage ({ url: ' mongodb://localhost:27017' })
0 commit comments