Skip to content

Commit

Permalink
Fix btcpayment for btcpay version 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIII committed Nov 9, 2024
1 parent 4c809ff commit 8a2f226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/BtcPaymentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function btcPayCallback(Request $request): Response
'payment_id' => $payload['payment']['id'],
'payment_status' => $payload['payment']['status'],
'invoice_amount' => $payload['metadata']['invoice_amount'],
'payment_method' => $payload['paymentMethod'],
'payment_method' => $payload['paymentMethodId'],
'payment_value' => $payload['payment']['value'],
'webhook_id' => $payload['webhookId'],
'invoice_id' => $payload['invoiceId'],
Expand Down

0 comments on commit 8a2f226

Please sign in to comment.