diff --git a/app/Jobs/ProcessPayments.php b/app/Jobs/ProcessPayments.php index 7d85eef..ee93244 100644 --- a/app/Jobs/ProcessPayments.php +++ b/app/Jobs/ProcessPayments.php @@ -82,16 +82,20 @@ class ProcessPayments implements ShouldQueue foreach ($memes as $meme) { $balance = $walletRPC->get_balance($meme->account_index); if ($balance['balance'] === $balance['unlocked_balance']) { - $send_funds = $walletRPC->sweep_all($meme->user->address, '', $meme->account_index); - if ($send_funds['amount_list']) { - $tip = new Tip; - $tip->meme_id = $meme->id; - $tip->amount = $send_funds['amount_list'][0]; - $tip->txid = $send_funds['tx_hash_list'][0]; - $tip->is_deposit = 0; - $tip->save(); - $meme->payment_pending = 0; - $meme->save(); + try { + $send_funds = $walletRPC->sweep_all($meme->user->address, '', $meme->account_index); + if ($send_funds['amount_list']) { + $tip = new Tip; + $tip->meme_id = $meme->id; + $tip->amount = $send_funds['amount_list'][0]; + $tip->txid = $send_funds['tx_hash_list'][0]; + $tip->is_deposit = 0; + $tip->save(); + $meme->payment_pending = 0; + $meme->save(); + } + } catch (\Exception $e) { + echo 'Caught exception: ', $e->getMessage(), "\n"; } } } diff --git a/resources/views/contact.blade.php b/resources/views/contact.blade.php index b875a82..3e70383 100644 --- a/resources/views/contact.blade.php +++ b/resources/views/contact.blade.php @@ -8,6 +8,7 @@

I recieved a tip but I haven't been paid yet. When will I get paid?

Payments usually go out a few times an hour however there can be a delay. Please submit an issue if you have not been paid after 24 hours.

+

If the tip is too small, it may not be able to send if it does not cover the fee. You can fix this by sending a tip to cover the fee.


Is this website created by Monero?

Monero is a decentralized organization. This website was created by a developer who likes Monero and should not be seen as "official".

diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index fa5f1ae..a2d7609 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -5,7 +5,7 @@
@if (session('submitted')) -