Stripe integration flow
This commit is contained in:
14
ui/_/code/bridge/handlers.js
Normal file
14
ui/_/code/bridge/handlers.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import fs from "fs"
|
||||
|
||||
const handlers = {
|
||||
getProfile(one, two) {
|
||||
fs.writeFileSync("output.txt", `${one} ${two}`)
|
||||
return "written to disk"
|
||||
},
|
||||
|
||||
async getStripeProfile(networkId) {
|
||||
return global.payments.getProfile(networkId)
|
||||
}
|
||||
}
|
||||
|
||||
export default handlers
|
||||
Reference in New Issue
Block a user