commit a6756de013b56074d00d8e11d97a98f1337e506f from: mischa date: Sun May 12 18:06:58 2024 UTC make sure renewal is set before sending out notify commit - 1444d5cc01d139bfebc8c139c0dcbc66bdd0ee45 commit + a6756de013b56074d00d8e11d97a98f1337e506f blob - 6f71afaafc2a510cdc7fd9df1d34558b2a53f743 blob + 8801e1b71866756e1eb74995aa62b0709c627018 --- notify.pl +++ 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";