• Order Id and Key are not coming back after payment is completed in WebView.

    If I initiate the payment in the browser, I am coming back to /checkout/order-received/<YYY>/?key=wc_order_<XXXXXXXXX> after payment is completed.

    However If I initiate the payment in the WebView (Mobile App Browser), it is coming back to /checkout/order-received/?key=

    It is loosing the orderId & Key. Hence the payment is not getting updated in the particular order even though the payment has gone through.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Am I right in saying that Webview is a 3rd party payment gateway? If so, you’d need to get in touch with the developers of Webview directly since it’s not a payment method that’s packaged with the core WooCommerce plugin itself.

    Thread Starter shamshudein

    (@shamshudein)

    Hi,

    No. Here the WebView refers to Mobile Web Browser that gets opened from Mobile App. It happens in any of the 3rd party payment gateways.

    But this is happening only in Mobile browser. It works fine in Desktop browser.

    I am loading the WooCommerce URL: /checkout/order-pay/<<orderId>>?key=<<orderKey>> in the Mobile browser. This loads the payment page. After the payment is done, it comes back to WooCommerce URL: /checkout/order-received/?key= instead of /checkout/order-received/<<orderId>>?key=<<orderKey>>. Please note that it is loosing the orderId and orderKey in transit.

    WordPress Version: 5.4.2
    WooCommerce Version: 4.2.2
    Web Server: Apache/2.4.25

    Any ideas why this happens?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Order Id and Key are not coming back after payment is completed in WebView’ is closed to new replies.