Set default donate amount to MAS price
This commit is contained in:
parent
536a8c3a3a
commit
f318d392fc
|
@ -16,7 +16,7 @@ else if (strlen($type) > 0)
|
||||||
|
|
||||||
|
|
||||||
// insert product name and redirect to paypal donation page
|
// insert product name and redirect to paypal donation page
|
||||||
$url = 'https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=rednoah%40filebot%2enet&lc=US&item_name='.urlencode($name).'¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted';
|
$url = 'https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=rednoah%40filebot%2enet&lc=US&item_name='.urlencode($name).'&amount=20%2e00¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted';
|
||||||
|
|
||||||
header('HTTP/1.1 302 Found');
|
header('HTTP/1.1 302 Found');
|
||||||
header('Location: '.$url);
|
header('Location: '.$url);
|
||||||
|
|
Loading…
Reference in New Issue