Skip to content

Commit

Permalink
Update pay.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nano2dev authored Dec 24, 2024
1 parent 6b9f963 commit 05e3e49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pay.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,6 @@
var description = config.description || config.text || config.note || config.memo || 'Total'
var address = config.address
var amount = config.amount ? Number(config.amount) : undefined
var random = config.random || config.random === false || config.random === "false" ? config.random : true
var notify = config.notify
var line_items = config.line_items || config.items || config.products
var currency = config.currency
Expand All @@ -581,7 +580,9 @@
var disclaimer = config.disclaimer
var expiration = config.timeout || config.expiration || config.time || config.time
var service_fee = config.fee || config.service_fee
var random = config.random || config.random === false || config.random === "false" ? config.random : true
var cloud = config.unique || config.cloud
if (unique === false) random = false
var countries = config.contries || shipping_countries

var wallets = {
Expand Down

0 comments on commit 05e3e49

Please sign in to comment.