Paypal empty domain value?

WL7ea
Junior Member
Beiträge: 6
Registriert: Do 20. Jul 2017, 18:30

Paypal empty domain value?

Beitragvon WL7ea » Do 24. Aug 2017, 18:18

Hello,

Empty domain values for the following hidden fields: return, cancel_return, notify_url. Instead I get an underscore.

Do I set the domain in we_tag_paypal.inc.php?

Code: Alles auswählen

<html><body onload="document.forms['paypal_form'].submit();"><body><div style='text-align:center'><h2>Please wait while your payment is processed. You will be redirected to PayPal shortly.</h2></center>
<form method="post" name="paypal_form" action="https://www.sandbox.paypal.com/cgi-bin/webscr">
<input type="hidden" name="rm" value="2"/>
<input type="hidden" name="cmd" value="_cart"/>
<input type="hidden" name="upload" value="1"/>
<input type="hidden" name="business" value="email@localhost.com"/>
<input type="hidden" name="return" value="http://_/Store/payment-paypal.php?action=success"/>
<input type="hidden" name="cancel_return" value="http://_/Store/payment-paypal.php?action=cancel"/>
<input type="hidden" name="notify_url" value="http://_/Store/payment-paypal.php?action=ipn"/>
<input type="hidden" name="currency_code" value="USD"/>
<input type="hidden" name="lc" value="United States"/>
<input type="hidden" name="first_name" value="Demo"/>
<input type="hidden" name="last_name" value="User"/>
<input type="hidden" name="address1" value="829 Springs"/>
<input type="hidden" name="zip" value="3222"/>
<input type="hidden" name="city" value="2"/>
<input type="hidden" name="email" value="demo@example.com"/>
<input type="hidden" name="receiver_email" value="demo@example.com"/>
<input type="hidden" name="item_name_1" value="Product 1"/>
<input type="hidden" name="quantity_1" value="1"/>
<input type="hidden" name="amount_1" value="99"/>
<input type="hidden" name="item_name_2" value="Product 2"/>
<input type="hidden" name="quantity_2" value="1"/>
<input type="hidden" name="amount_2" value="129"/>
<input type="hidden" name="shipping_1" value="0"/>
</div><br/><br/>If you are not automatically redirected within the next 5 seconds, please click the "PayPal" button.<br/><br/>
<input type="submit" value="PayPal" /></center>
</form>
</body></html>
The problem:

Code: Alles auswählen

<input type="hidden" name="return" value="http://_/Store/payment-paypal.php?action=success"/>
<input type="hidden" name="cancel_return" value="http://_/Store/payment-paypal.php?action=cancel"/>
<input type="hidden" name="notify_url" value="http://_/Store/payment-paypal.php?action=ipn"/>
Thank you!

WL7ea
Junior Member
Beiträge: 6
Registriert: Do 20. Jul 2017, 18:30

Re: Paypal empty domain value?

Beitragvon WL7ea » Do 24. Aug 2017, 18:54

Found the problem :)

The problem was in nginx in server_name.

Code: Alles auswählen

server {
    server_name _
}
Changed to:

Code: Alles auswählen

server {
    server_name domain.com
}
Problem solved :D


Zurück zu „Shop Module“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 3 Gäste