SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ef59ca20dd47f739f223303873f5891e29317515
parent 0b967ad6a521f07a39d2b0f06e092ac0b52e4a08
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Fri, 15 Jan 2021 02:19:30 +1100

add webhook to initiate js

Diffstat:
Mtemplates/index.html | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/templates/index.html b/templates/index.html @@ -10,7 +10,9 @@ <!-- Initate the payment websocket --> <script type="text/javascript"> - initiate({{ amount }}, {{ id }}); + payment_data = {{ params|tojson }}; + console.log(payment_data); + initiate(payment_data); </script>