mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
final clean ups before review
This commit is contained in:
parent
cfe26d06ec
commit
56e327a238
@ -114,7 +114,6 @@ class Blockonomics implements MethodInterface
|
||||
|
||||
public function paymentResponse(PaymentResponseRequest $request)
|
||||
{
|
||||
echo "Payment response received";
|
||||
$request->validate([
|
||||
'payment_hash' => ['required'],
|
||||
'amount' => ['required'],
|
||||
|
@ -65,7 +65,7 @@ class BlockonomicsPaymentDriver extends BaseDriver
|
||||
|
||||
public function getPaymentByTxid($txid)
|
||||
{
|
||||
return Payment::whereRaw('BINARY `transaction_reference` LIKE ?', ["%txid: " . $txid])->firstOrFail();
|
||||
return Payment::whereRaw('BINARY `transaction_reference` LIKE ?', ["%txid: " . $txid . "%"])->firstOrFail();
|
||||
}
|
||||
|
||||
public function getCallbackSecret()
|
||||
|
Loading…
x
Reference in New Issue
Block a user