sveawebpay / php-integration

SDK for Sveas payment methods (standalone and Svea Checkout)
Other
15 stars 19 forks source link

Function ("GetPaymentPlanParamsEu") is not a valid method for this service #68

Closed timint closed 8 years ago

timint commented 8 years ago

With the latest 3.0.0 and a new customer installation, the Payment Plan module all the sudden returns Function ("GetPaymentPlanParamsEu") is not a valid method for this service. Is this related to the customer account or a new bug?

        $config = Svea\WebPay\Config\ConfigurationService::getProdConfig();

        $response = Svea\WebPay\WebPay::getPaymentPlanParams($config)
                     ->setCountryCode('SE')
                     ->doRequest();
timint commented 8 years ago

Furthermore another similar error:

Function ("GetAddress") is not a valid method for this service

timint commented 8 years ago

Sorry for the inconvenience. This seems to be a new bug introduced in latest version of PHP 7. Swapping back to PHP 5.6 solved the case.