Skip to content

Commit 2136fb9

Browse files
committed
define paymentimestamp
1 parent efea2e9 commit 2136fb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets_js_bitrequest_payments.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3247,6 +3247,7 @@ function save_payment_request(direct, lightning_url) {
32473247
meta_data_object = request_meta_hash ? JSON.parse(atob(request_meta_hash)) : null, // decode meta param if exists
32483248
fiat_value_rounded = trimdecimals(request.fiatvalue, 2),
32493249
received_in_currency = is_crypto_currency ? request.receivedamount : fiat_value_rounded,
3250+
paymentimestamp = payment_timestamp || current_timestamp,
32503251
transaction_data = {
32513252
"currencyname": request.currencyname,
32523253
"requestid": request_id,

0 commit comments

Comments
 (0)