File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ function fetchTransactionData() {
54
54
}
55
55
56
56
function loadTransactionData ( result ) {
57
- console . log ( "Load data : " + result . order_amount ) ;
58
- amountSelector . innerHTML = `${ result . order_amount } ` + ` ${ currency } ` ;
59
- leftAmount = result . order_amount - result . paid ;
57
+ console . log ( "Load data : " + result . orderAmount ) ;
58
+ amountSelector . innerHTML = `${ result . orderAmount } ` + ` ${ currency } ` ;
59
+ leftAmount = result . orderAmount - result . paid ;
60
60
remainingSelector . innerHTML = `${ leftAmount } ` + ` ${ currency } ` ;
61
61
62
62
if ( result . orderAmount <= result . paid ) {
@@ -130,11 +130,11 @@ async function openPaymentWidget() {
130
130
131
131
widgetData = await getAddressData ( OPEN_URL ) ;
132
132
133
- amountSelector . innerHTML = `${ widgetData . order_amount } ` + ` ${ currency } ` ;
134
- leftAmount = widgetData . order_amount - widgetData . paid ;
133
+ amountSelector . innerHTML = `${ widgetData . orderAmount } ` + ` ${ currency } ` ;
134
+ leftAmount = widgetData . orderAmount - widgetData . paid ;
135
135
remainingSelector . innerHTML = `${ leftAmount } ` + ` ${ currency } ` ;
136
136
137
- countdownTimer ( new Date ( `${ widgetData . order_date } ` ) . getTime ( ) , widgetData . order_amount , widgetData . paid ) ;
137
+ countdownTimer ( new Date ( `${ widgetData . orderDate } ` ) . getTime ( ) , widgetData . orderAmount , widgetData . paid ) ;
138
138
139
139
const accordion = document . querySelector ( ".accordion" ) ;
140
140
let i = 1 ;
You can’t perform that action at this time.
0 commit comments