WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Quickpay
[resolved] Latest version not working (32 posts)

  1. Kenneth Jensen
    Member
    Posted 7 months ago #

    Hi there,

    Latest update does not work. No redirection after choosing payment method.

    -Kenneth

    http://wordpress.org/plugins/woocommerce-quickpay/

  2. jb@vasanthi.dk
    Member
    Posted 6 months ago #

    Same here - luckily there's access to other versions...

  3. Peter Sejersen
    Member
    Posted 6 months ago #

    Same here.

  4. xirb
    Member
    Posted 6 months ago #

    And same here!

  5. RaverDK
    Member
    Posted 6 months ago #

    Also broken here...

    From the apache error log:PHP Fatal error:

    Call to undefined method WC_Order::get_checkout_order_received_url() in /path/to/www-root/wp-content/plugins/woocommerce-quickpay/gateway-quickpay.php on line 314

    WordPress: 3.8
    Woocommerce: 2.0.20
    WooQuickpay: 2.1.0

  6. SiloDK
    Member
    Posted 6 months ago #

    HOTFIX, until he will fix it.

    FILE: gateway-quickpay.php
    LINE 341-315 replace with this:

    $continueurl	= add_query_arg('key', $this->order->order_key, add_query_arg('order', $order_id, get_permalink(get_option('woocommerce_thanks_page_id'))));
    			$cancelurl		= add_query_arg('key', $this->order->order_key, add_query_arg($query_args_cancellation, get_permalink(get_option('woocommerce_cart_page_id'))));

    and

    LINE 320, replace with this code:

    $amount = $this->format_price(WC_Subscriptions_Order::get_recurring_total( $this->order ));
  7. Mads Phikamphon
    Member
    Posted 6 months ago #

    The hotfix didn't help here, still no redirection.

  8. Peter Sejersen
    Member
    Posted 6 months ago #

    The plugin was updated to version 2.1.1 on 2014-1-26.

    That solved the issue for me.

  9. SiloDK
    Member
    Posted 6 months ago #

    the latest version does work with return redirection and payment ect. But i still get some errors with the newest module:

    Notice: Undefined variable: order_id in /xx/xx/woocommerce-quickpay/gateway-quickpay.php on line 841
    
    Notice: WC_Subscriptions_Order::get_price_per_period har været forældet siden version 1.2! Brug WC_Subscriptions_Order::get_recurring_total( $order, $product_id ) i stedet. in /xx/xx/functions.php on line 2908
    You will be automatically redirected to the payment window in 5 seconds. Click on the button below if you are not redirected.
  10. Mads Phikamphon
    Member
    Posted 6 months ago #

    I upgraded to 2.1.1 last night, it didn't help here (actually it was the cause of all the problems since we didn't have any problems using the old version)

  11. Peter Sejersen
    Member
    Posted 6 months ago #

    I just tested it again.

    It does work to get the payment done... but the text for the confirmation page is not sent through meaning that the page does not contain order information.

    Back to the old version again... Annoying.

  12. PerfectSolution
    Member
    Plugin Author

    Posted 5 months ago #

    Hi Mads,

    2.1.1 should solve that specific issue, you experience. I am not able to reproduce the error myself anymore. Please tell me if you experience any error messages on your page or in your error logs.

  13. PerfectSolution
    Member
    Plugin Author

    Posted 5 months ago #

    Hi Peter,

    Exactly what text for the confirmation page are you referring to?

  14. Mads Phikamphon
    Member
    Posted 5 months ago #

    No error messages appeared on the page, but I'll try version 2.1.1 again and see if I get any messages in the error log file.

    (currently we are using version 2.0.9)

  15. Mads Phikamphon
    Member
    Posted 5 months ago #

    Here is exactly what happens at our setup:

    1) No matter which version we are using (2.0.9 or 2.1.1), the customer has to wait ~5 seconds for the payment window to open. The only way to avoid the wait is to click the "Åben sikker Quickpay kortbetaling" button:

    Screenshot 1

    2) If we are using version 2.0.9, the checkout confirmation screen look just like it should:

    Screenshot 2

    3) If we are using version 2.0.11, the checkout confirmation screen is quite empty:

    Screenshot 3

    4) Nothing is written to the error_log file.

    Thanks,
    Mads

  16. Peter Sejersen
    Member
    Posted 5 months ago #

    I see the same as Mads when using 2.0.11 (though I think he has switched screenshot 2 and 3 around).

    Is using 2.0.9 until is has been fixed.

  17. PerfectSolution
    Member
    Plugin Author

    Posted 5 months ago #

    Hi Mads,

    Do you have WP_DEBUG enabled while testing? If not, can I ask you to enable it and try again?

  18. PerfectSolution
    Member
    Plugin Author

    Posted 5 months ago #

    Peter and Mads,

    What are your WordPress and WooCommerce versions?

  19. Peter Sejersen
    Member
    Posted 5 months ago #

    WordPress = 3.8.1

    WooComemrce = Version 2.0.20

  20. Mads Phikamphon
    Member
    Posted 5 months ago #

    Enabled WP_DEBUG on our test site. The following was written to the event log:

    [04-Feb-2014 09:22:06 UTC] PHP Notice: Undefined variable: order_id in /home/genvejen/public_html/burgerbar.dk/wp-content/plugins/woocommerce-quickpay/gateway-quickpay.php on line 841

    [04-Feb-2014 09:22:06 UTC] PHP Notice: Undefined index: quickpay_redirectText in /home/genvejen/public_html/burgerbar.dk/wp-content/plugins/woocommerce-quickpay/gateway-quickpay.php on line 340

    [Feb-2014 09:22:33 UTC] PHP Notice: Undefined offset: 0 in /home/genvejen/public_html/burgerbar.dk/wp-content/plugins/woocommerce-quickpay/gateway-quickpay.php on line 485

    My versions, WordPress = 3.8.1, Woocommerce 2.0.20

    Thanks,
    Mads

  21. Mads Phikamphon
    Member
    Posted 5 months ago #

    Our test site is using Quickpay plugin version 2.0.11

  22. PerfectSolution
    Member
    Plugin Author

    Posted 5 months ago #

    I've released 2.1.2 which added a few improvements. Please confirm whether or not this fixed the problems you experience.

  23. Mads Phikamphon
    Member
    Posted 5 months ago #

    1) With version 2.1.2, the checkout confirmation screen look just like it should, except for the new "Payment fee" line.

    Is it possible to remove the new "Payment fee" line from the checkout confirmation screen + the mails we send to our customers?

    Screenshot 4

    2) With version 2.1.2, the customer still has to wait ~5 seconds for the payment window to open. The only way to avoid the wait is to click the "Åben sikker Quickpay kortbetaling" button:

    Screenshot 1

    Thanks,
    Mads

  24. PerfectSolution
    Member
    Plugin Author

    Posted 5 months ago #

    1) Im glad the confirmation is now looking as intended. It is currently not possible to disable payment fees as it is usually required to be stated on the order confirmation. I will most likely add this in the next version.

    2) This is the intended behaviour.

  25. PerfectSolution
    Member
    Plugin Author

    Posted 5 months ago #

    I will mark this thread as solved.

  26. Mads Phikamphon
    Member
    Posted 5 months ago #

    1) Ok, but where do I translate the "Payment fee" text then?

    In your code, line 881, it looks like the text is part of the "woocommerce" set, but I can't find it there (Woocommerce 2.0.20).

    2) Ok, but the Redirect message from Woocommerce options -> Payment Gateways -> Quickpay doesn't appear in our setup.

    Any idea why?

  27. PerfectSolution
    Member
    Plugin Author

    Posted 5 months ago #

    1) It is most likely not present. I promise that I will add proper i18n support in the next version. Until then you can hardcode a different text in there if you want.

    2) The field is in the bottom of the gateway settings page and is called: "Redirect message"

  28. Mads Phikamphon
    Member
    Posted 5 months ago #

    1) Hardcoding the text is exactly what I have done.

    2) Yes, but the text doesn't appear.

    Screenshot 5

  29. PerfectSolution
    Member
    Plugin Author

    Posted 5 months ago #

    The setting is for some reason not saved properly on your install. The very same setting caused one of the error messages you mentioned above.

    In 2.1.2 i've added an extra check before printing the setting:

    if( array_key_exists('quickpay_redirectText', $this->settings) ) {
    echo $this->settings['quickpay_redirectText'];
    }

    Try saving your settings again and see if that helps.

  30. Mads Phikamphon
    Member
    Posted 5 months ago #

    That helped a lot. Respect! And thank you for your excellent support.

Reply »

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.