Skip to content
Snippets Groups Projects
Commit 226f675c authored by Kim Höfer's avatar Kim Höfer
Browse files

Fix PayPal Button

parent c84e1b14
No related branches found
No related tags found
3 merge requests!1895Development,!1786Development,!1692Resolve "New donate site"
......@@ -12,8 +12,8 @@
</div>
<div class="two-col">
<form class="col-left" method="post">
@if (app('request')->input('method') == "paypal")
<form class="col-left" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<div class="section">
<h3>{!! trans('spende.headline.5') !!}</h3>
......@@ -25,27 +25,24 @@
<p><br>{!! trans('spende.paypal.1') !!}</p>
<div class="center-wrapper">
@if (LaravelLocalization::getCurrentLocale() == "de")
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="lc" value="{{ Request::getPreferredLanguage([]) }}">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="5JPHYQT88JSRQ" />
<input type="image" src="{{ action('Pictureproxy@get', ['url' => 'https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donateCC_LG.gif']) }}" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="{{ action('Pictureproxy@get', ['url' => 'https://www.paypal.com/de_DE/i/scr/pixel.gif']) }}" width="1" height="1" />
</form>
@else
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="lc" value="{{ Request::getPreferredLanguage([]) }}">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="LXWAVD6P3ZSWG" />
<input type="image" src="{{ action('Pictureproxy@get', ['url' => 'https://www.paypalobjects.com/en_US/DK/i/btn/btn_donateCC_LG.gif']) }}" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="{{ action('Pictureproxy@get', ['url' => 'https://www.paypal.com/en_DE/i/scr/pixel.gif']) }}" width="1" height="1" />
</form>
@endif
</div>
</div>
@elseif ((app('request')->input('method') == "bank-transfer"))
<form class="col-left" method="post">
<div class="section">
<h3>{!! trans('spende.headline.5') !!}</h3>
......@@ -63,6 +60,7 @@
</p>
</div>
@else
<form class="col-left" method="post">
<div class="section">
<h3>{!! trans('spende.headline.5') !!}</h3>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment