Skip to content

Commit

Permalink
chore: update script by anyone
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis committed Mar 27, 2024
1 parent 5847041 commit 47c70b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/routes/ecom/modules/list-payments.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ exports.post = ({ appSdk }, req, res) => {
gateway.icon = `${baseUri}/credit-card.png`
}
gateway.js_client = {
script_uri: 'https://assets.pagar.me/pagarme-js/4.8/pagarme.min.js',
onload_expression: `window._appmaxKey="${config.public_key}";` +
fs.readFileSync(path.join(__dirname, '../../../public/onload-expression.js'), 'utf8'),
cc_hash: {
Expand Down

0 comments on commit 47c70b0

Please sign in to comment.