make sure renewal is set before sending out notify
This commit is contained in:
parent
1444d5cc01
commit
a6756de013
|
@ -142,6 +142,11 @@ sub mailout {
|
||||||
$paypal_url = "SPONSORED";
|
$paypal_url = "SPONSORED";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($_donated !~ m/renewal/) {
|
||||||
|
print "renewal not set\n";
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
|
||||||
my $stripe = $stripe_urls{$_payment} || '';
|
my $stripe = $stripe_urls{$_payment} || '';
|
||||||
my $ideal = $ideal_url || "https://bunq.me/openbsdams/${_payment}/${_instance}%20$conf{'conf'}{'SERVER'}";
|
my $ideal = $ideal_url || "https://bunq.me/openbsdams/${_payment}/${_instance}%20$conf{'conf'}{'SERVER'}";
|
||||||
my $paypal = $paypal_url || "https://paypal.me/runbsd/${_payment}eur";
|
my $paypal = $paypal_url || "https://paypal.me/runbsd/${_payment}eur";
|
||||||
|
|
Loading…
Reference in New Issue