mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 21:14:35 -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)
|
public function paymentResponse(PaymentResponseRequest $request)
|
||||||
{
|
{
|
||||||
echo "Payment response received";
|
|
||||||
$request->validate([
|
$request->validate([
|
||||||
'payment_hash' => ['required'],
|
'payment_hash' => ['required'],
|
||||||
'amount' => ['required'],
|
'amount' => ['required'],
|
||||||
|
@ -65,7 +65,7 @@ class BlockonomicsPaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
public function getPaymentByTxid($txid)
|
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()
|
public function getCallbackSecret()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user