final clean ups before review

This commit is contained in:
cnohall 2024-09-13 12:58:38 +09:00
parent cfe26d06ec
commit 56e327a238
2 changed files with 1 additions and 2 deletions

View File

@ -114,7 +114,6 @@ class Blockonomics implements MethodInterface
public function paymentResponse(PaymentResponseRequest $request)
{
echo "Payment response received";
$request->validate([
'payment_hash' => ['required'],
'amount' => ['required'],

View File

@ -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()