diff --git a/notify.pl b/notify.pl index 6f71afa..8801e1b 100755 --- a/notify.pl +++ b/notify.pl @@ -142,6 +142,11 @@ sub mailout { $paypal_url = "SPONSORED"; } + if ($_donated !~ m/renewal/) { + print "renewal not set\n"; + next; + } + my $stripe = $stripe_urls{$_payment} || ''; my $ideal = $ideal_url || "https://bunq.me/openbsdams/${_payment}/${_instance}%20$conf{'conf'}{'SERVER'}"; my $paypal = $paypal_url || "https://paypal.me/runbsd/${_payment}eur";