Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP completePurchase issues #42

Open
darylp041 opened this issue Oct 27, 2023 · 0 comments
Open

WP completePurchase issues #42

darylp041 opened this issue Oct 27, 2023 · 0 comments

Comments

@darylp041
Copy link

Has anyone been having issues checking if WorldPay completePurchase() works?

I seem to be getting errors when trying to complete or check if the status of the order is complete. For example, this logic works in v2, but in v3 the HTTP parameters never get set or can be set.

        $response = $this->gateway->completePurchase([
            'callbackPW' => $this->gateway->getCallbackPassword(),
            'transStatus' => 'Y',
            'transId' => $order->trans_key
        ])->send();

Inside "Omnipay\WorldPay\Message\CompletePurchaseRequest", there seems to be no way of setting the parameters needed to pass through.

Strange that version 2 works, but moving to v3 does not though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant