Worldpay / Worldpay-Ecommerce

5 stars 2 forks source link

Woo-commerce iframe functionality #1

Open pandemicGander opened 8 months ago

pandemicGander commented 8 months ago

The payment gateway plugin for woocommerce doesn't currently support iframes or lightboxes out of the box, only redirects:

    public function process_payment( $order_id ) {
    ...
                return [
                    'result'   => 'success',
                    'redirect' => esc_url_raw( $hppURL ),
                ];
        ...
    }

You offer examples in AccessWorldpayHPP.php and iframeHPP.php to do this manually but this isn't compatible without editing your plugin or overriding your code.

Is HPP via iframe/lightboxes in the woocommerce plugin an up coming feature?