diff --git a/assets/javascripts/front/checkout/model/payment/pix.js b/assets/javascripts/front/checkout/model/payment/pix.js index 8d3ea4d0..b152e049 100644 --- a/assets/javascripts/front/checkout/model/payment/pix.js +++ b/assets/javascripts/front/checkout/model/payment/pix.js @@ -14,7 +14,7 @@ let pagarmePix = { if (!elem.length) { return; } - const rawCode = elem.attr('rawCode'); + const rawCode = elem.data('rawCode'); const message = { icon: 'success', text: 'Código copiado.' diff --git a/templates/checkout/thankyou/pix.phtml b/templates/checkout/thankyou/pix.phtml index 22c4b0e2..6dc1a6dd 100644 --- a/templates/checkout/thankyou/pix.phtml +++ b/templates/checkout/thankyou/pix.phtml @@ -19,7 +19,7 @@ if (!function_exists('add_action')) {

Pix QRCode

diff --git a/templates/order/transaction/pix.phtml b/templates/order/transaction/pix.phtml index 100af248..3169122b 100644 --- a/templates/order/transaction/pix.phtml +++ b/templates/order/transaction/pix.phtml @@ -23,7 +23,7 @@ if (!function_exists('add_action')) {

Pix QRCode