Ask coding questions

← Back to all posts
How to enable SoapClient for php
ThomasHagan (1) users,

I'm building a SOAP API sample for my payment gateway. I'm attempting to use SoapClient, but receiving the following error.

/sale.php - Uncaught Error: Class 'SoapClient' not found in /home/runner/sale.php:46
Stack trace:
#0 {main}
thrown in /home/runner/sale.php on line 46

Is there a way to enable SoapClient within

Thanks for your help,