WPPizza – A Restaurant Plugin for WordPress › Support › Add-Ons › Gateways › Paypal Standard › Problem with Redirect (Paypal)
- AuthorPosts
- 28 May, 2015 at 12:47 pm #10263
Hello, am using Paypal payment on my web, but i have one problem, when i cancel order in Paypal, then page redirect and give me information ” Your order has been cancelled. You have not been charged ” but i want when Paypal cancelled page redirect automatically in Order Page, i try but cant do this..
28 May, 2015 at 12:48 pm #10266This is not a problem, this is by design and intentional.
28 May, 2015 at 1:26 pm #10267PS: as you can edit that message , you could always also put a link on there that links back to the order page, or even a script that does the redirect like so:
<script>setInterval(function(){window.location.href=/my_order_page_link/;},0);</script>
(you’d of course have to replace /my_order_page_link/ with the url to your order page
29 May, 2015 at 10:05 am #10276Thanks Olly, now i have fix it..
Yes know that is not error (problem) but i have make wrong question..
8 June, 2015 at 11:05 am #10467I have other problem now, i have activate Sandbox for test.. and when i make order complete so Paypal said order complete but when redirect on my web.. don’t show nothing, don’t show that information ” Thank You “.. just show blank
i dont have edit code
this is allright :
$res = $wpdb->get_row(“SELECT * FROM “.$wpdb->prefix . $this->pluginOrderTable.” WHERE hash='”.$_GET[‘wpptx’].”‘ “);
if($res){
if($res->payment_status==’COMPLETED’){
$content=”<div class=’wppizza-gateway-success’><h1>”.$this->pluginOptions[‘localization’][‘thank_you’][‘lbl’].”</h1>”.nl2br($this->pluginOptions[‘localization’][‘thank_you_p’][‘lbl’]).”</div>”;
/**display order details (if enabled)**/
$content=””.$this->gateway_order_on_thankyou($res).””;
}??
i dont understand why this dont come.. i check on logs if give me any erorr but no. seems all good by logs.. also check ipn dont give me error show normal blank page..
8 June, 2015 at 11:33 am #10468got a link ?
8 June, 2015 at 11:47 am #10469This reply has been marked as private.8 June, 2015 at 12:17 pm #10470I can’t do anything at the moment, as there is an issue with paypal themselves.
i get the following error on their site:The PayPal site is currently experiencing technical difficulties with our credit card processor. We are working to solve this problem as quickly as possible. If you would like to Send Money, please fund your payment with your PayPal balance, PayPal Credit or bank account. If you would like to use your credit card, please return to the PayPal website later to complete your transaction. We apologise for any inconvenience this may cause.
i will try again in an hours or so
8 June, 2015 at 12:26 pm #10471ok good, i also make when paypal cancel ,
$content=”<div class=’wppizza-gateway-success’><h1>Payment Status: </h1>”.$res->payment_status.” -“. __(‘Paypal has not yet processed your payment! This page will automatically check again in a few seconds. Please wait…..’,$this->pluginLocale).”</div>”;
$content='<script>setInterval(function(){window.location.href=/bestellungen-2/;},5000);</script>’;this one not redirect.. on my link..
8 June, 2015 at 12:41 pm #10472before we go any further though, update the paypal plugin/gateway.
you are using v2.1.7.3.
you should be using v2.1.7.8your version is 6 months out of date
8 June, 2015 at 4:31 pm #10484yes i have make update to new version..
but now i have this problem
INITIALIZED -Paypal has not yet processed your payment! This page will automatically check again in a few seconds. Please wait…..
and in logs come just this..
ipn-transaction-successful-1da03fe991d1593f96f5e896f2af770b.log
i don’t understand i read troubleshoot but i dont have clear.. what should i do in this case..
8 June, 2015 at 5:02 pm #10485can you send me all the logs (zip them) please – to dev[at]wp-pizza.com
- AuthorPosts
- The topic ‘Problem with Redirect (Paypal)’ is closed to new replies.