1 users online. Create an account or sign in to join them.Users
PayPal Payments Redirection
This is an open discussion with 3 replies, filed under Troubleshooting.
Search
Managed to fix my issue by changing the sandbox URL to https
if ($this->_sandbox_enabled()) {
$url = 'https://www.sandbox.paypal.com';
}
Could you do a pull-request on that?
Sorry, this was done about two months ago and I neglected to update the .zip package. Done now.
Create an account or sign in to comment.
Trying to use this extension with 2.2.1 I seem to having a problem with the redirects. Using the following test code, redirects to PayPal but does not initiate the payment store, item, price etc... is not displayed.
form action="" method="post"> <input name="fields[amount]" value="15.00" type="hidden" /> <input name="fields[member]" value="{/data/events/member-login-info/@id}" type="hidden" /> <input name="paypal-payments[cmd]" value="_xclick" type="hidden" /> <input name="paypal-payments[amount]" value="15.00" type="hidden" /> <input name="paypal-payments[item_name]" value="hat" type="hidden" /> <input name="action[save-booking]" type="submit" value="Submit" /> </formHowever doing a manual test works, I am using the same business email parameter.
form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="business" value="XXXXX " /> <input type="hidden" name="amount" value="15.00" /> <input type="hidden" name="item_name" value="hat" /> <input type="image" name="submit" border="0" src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" alt="PayPal - The safer, easier way to pay online" /> </formHopefully I am missing something obvious?