add a dialog with payment details for each payment.
for outgoing payments this needs a preimage to be good, but we don't have it yet because we don't get it from backends.
This commit is contained in:
@@ -137,15 +137,12 @@
|
||||
Invoice: function () {
|
||||
var self = this
|
||||
axios
|
||||
.post(
|
||||
'/lnticket/api/v1/tickets/{{ form_id }}',
|
||||
{
|
||||
form: '{{ form_id }}',
|
||||
name: self.formDialog.data.name,
|
||||
email: self.formDialog.data.email,
|
||||
ltext: self.formDialog.data.text,
|
||||
}
|
||||
)
|
||||
.post('/lnticket/api/v1/tickets/{{ form_id }}', {
|
||||
form: '{{ form_id }}',
|
||||
name: self.formDialog.data.name,
|
||||
email: self.formDialog.data.email,
|
||||
ltext: self.formDialog.data.text
|
||||
})
|
||||
.then(function (response) {
|
||||
self.paymentReq = response.data.payment_request
|
||||
self.paymentCheck = response.data.payment_hash
|
||||
|
||||
Reference in New Issue
Block a user