@infrab4a/connect 4.2.4-beta.5 → 4.2.4-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +2 -2
- package/index.esm.js +2 -2
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -2684,7 +2684,7 @@ class PagarmeBankSlipService {
|
|
|
2684
2684
|
amount: Math.floor(checkout.totalPrice * 100),
|
|
2685
2685
|
boleto_rules: ['strict_expiration_date'],
|
|
2686
2686
|
boleto_instructions: 'Sr. Caixa, NÃO aceitar o pagamento após o vencimento.',
|
|
2687
|
-
boleto_expiration_date: dateFns.format(dateFns.addDays(new Date(), 3), '
|
|
2687
|
+
boleto_expiration_date: dateFns.format(dateFns.addDays(new Date(), 3), 'yyyy-MM-dd'),
|
|
2688
2688
|
payment_method: 'boleto',
|
|
2689
2689
|
postback_url: this.credentials.URL_POSTBACK,
|
|
2690
2690
|
customer: {
|
|
@@ -2816,7 +2816,7 @@ class PagarmePixService {
|
|
|
2816
2816
|
amount: Math.floor(checkout.totalPrice * 100),
|
|
2817
2817
|
api_key: this.credentials.API_KEY,
|
|
2818
2818
|
postback_url: this.credentials.URL_POSTBACK,
|
|
2819
|
-
pix_expiration_date: dateFns.format(dateFns.addDays(new Date(), 1), '
|
|
2819
|
+
pix_expiration_date: dateFns.format(dateFns.addDays(new Date(), 1), 'yyyy-MM-dd'),
|
|
2820
2820
|
customer: {
|
|
2821
2821
|
external_id: checkout.user.id,
|
|
2822
2822
|
type: 'individual',
|
package/index.esm.js
CHANGED
|
@@ -2660,7 +2660,7 @@ class PagarmeBankSlipService {
|
|
|
2660
2660
|
amount: Math.floor(checkout.totalPrice * 100),
|
|
2661
2661
|
boleto_rules: ['strict_expiration_date'],
|
|
2662
2662
|
boleto_instructions: 'Sr. Caixa, NÃO aceitar o pagamento após o vencimento.',
|
|
2663
|
-
boleto_expiration_date: format(addDays(new Date(), 3), '
|
|
2663
|
+
boleto_expiration_date: format(addDays(new Date(), 3), 'yyyy-MM-dd'),
|
|
2664
2664
|
payment_method: 'boleto',
|
|
2665
2665
|
postback_url: this.credentials.URL_POSTBACK,
|
|
2666
2666
|
customer: {
|
|
@@ -2792,7 +2792,7 @@ class PagarmePixService {
|
|
|
2792
2792
|
amount: Math.floor(checkout.totalPrice * 100),
|
|
2793
2793
|
api_key: this.credentials.API_KEY,
|
|
2794
2794
|
postback_url: this.credentials.URL_POSTBACK,
|
|
2795
|
-
pix_expiration_date: format(addDays(new Date(), 1), '
|
|
2795
|
+
pix_expiration_date: format(addDays(new Date(), 1), 'yyyy-MM-dd'),
|
|
2796
2796
|
customer: {
|
|
2797
2797
|
external_id: checkout.user.id,
|
|
2798
2798
|
type: 'individual',
|