Created
April 9, 2022 21:15
-
-
Save zalun/76a1b6b701ece72de838c1da50a988c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// server/content-types/production-settings.js | |
module.exports = { | |
schema: { | |
kind: "singleType", | |
collectionName: "production_settings", | |
info: { | |
singularName: "production-settings", | |
pluralName: "production-settings", | |
displayName: "PayU Settings - Production", | |
description: "" | |
}, | |
pluginOptions: { | |
'content-manager': { visible: true }, | |
'content-type-builder': { visible: false } | |
}, | |
attributes: { | |
payuAuthorizeUrl: { | |
type: "string", | |
default: "https://secure.payu.com/pl/standard/user/oauth/authorize", | |
}, | |
payuApiUrl: { | |
type: "string", | |
default: "https://secure.payu.com/api/v2_1", | |
}, | |
clientId: { type: "string" }, | |
clientSecret: { type: "string" }, | |
merchantPosId: { type: "string" }, | |
notifyUrl: { type: "string" } | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment