Problem with Redirect (Paypal)

WPPizza – A Restaurant Plugin for WordPress Support Add-Ons Gateways Paypal Standard Problem with Redirect (Paypal)

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #10263
    Mover
    Participant

      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..

      #10266
      Olly
      Admin & Mod

        This is not a problem, this is by design and intentional.

        #10267
        Olly
        Admin & Mod

          PS: 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

          #10276
          Mover
          Participant

            Thanks Olly, now i have fix it..

            Yes know that is not error (problem) but i have make wrong question..

            #10467
            Mover
            Participant

              I 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..

              #10468
              Olly
              Admin & Mod

                got a link ?

                #10469
                Mover
                Participant
                  This reply has been marked as private.
                  #10470
                  Olly
                  Admin & Mod

                    I 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

                    #10471
                    Mover
                    Participant

                      ok 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..

                      #10472
                      Olly
                      Admin & Mod

                        before we go any further though, update the paypal plugin/gateway.
                        you are using v2.1.7.3.
                        you should be using v2.1.7.8

                        your version is 6 months out of date

                        #10484
                        Mover
                        Participant

                          yes 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..

                          #10485
                          Olly
                          Admin & Mod

                            can you send me all the logs (zip them) please – to dev[at]wp-pizza.com

                          Viewing 12 posts - 1 through 12 (of 12 total)
                          • The topic ‘Problem with Redirect (Paypal)’ is closed to new replies.