Customer John cvtserve wrote in asking us to cancel subscription. because he wasnt able to .

I tried to do it as admin and then as him with switch to and this error popped up: (Will have to cancel it from Stripe)

Error Message

Fatal error: Uncaught Error sending request to Stripe: (Status 400) (Request req_vWc4KPhunDZvoV) 
Received unknown parameter: at_period_end 

Stripe\Exception\InvalidRequestException: Received unknown parameter: at_period_end in 
/var/www/html/wp-content/mu-plugins/myslp-payments/include/module/stripe/lib/Exception/ApiErrorException.php 
on line 38 

...

/var/www/html/wp-content/mu-plugins/myslp-payments/include/module/stripe/MySLP_Stripe_Payments.php:78 
0.2078 3481712 

...

{\n "code": "parameter_unknown",\n "doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",\n "message": "Received unknown parameter: at_period_end",\n "param": "at_period_end",\n "request_log_url": "https://dashboard.stripe.com/logs/req_vWc4KPhunDZvoV?t=1741733187",\n "type": "invalid_request_error"\n }\n}\n', $rcode = 400, $rheaders = class Stripe\Util\CaseInsensitiveArray { private $container = ['server' => 'nginx', 'date' => 'Tue, 11 Mar 2025 22:46:27 GMT', 'content-type' => 'application/json', 'content-length' => '344', 'access-control-allow-credentials' => 'true', 'access-control-allow-methods' => 'GET, HEAD, PUT, PATCH, POST, DELETE', 'access-control-allow-origin' => '*', 'access-control-expose-headers' => 'Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required', 'access-control-max-age' => '300', 'cache-control' => 'no-cache, no-store', 'content-security-policy' => 'base-uri \'none\'; default-src \'none\'; form-action \'none\'; frame-ancestors \'none\'; img-src \'self\'; script-src \'self\' \'report-sample\'; style-src \'self\'; worker-src \'none\'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=Y4gDWxQ9-cxH8byzR_FFP83pFHvK5bGPjUQ3LwydDpsYClQbq1zrqW_KVuLHyeczYoeS20mqjho5AaIp', 'cross-origin-opener-policy-report-only' => 'same-origin; report-to="coop"', 'report-to' => '{"group":"coop","max_age":8640,"endpoints":[{"url":"https://q.stripe.com/coop-report"}],"include_subdomains":true}', 'reporting-endpoints' => 'coop="https://q.stripe.com/coop-report"', 'request-id' => 'req_vWc4KPhunDZvoV', 'stripe-version' => '2024-09-30.acacia', 'vary' => 'Origin', 'x-stripe-priority-routing-enabled' => 'true', 'x-stripe-routing-context-priority-tier' => 'livemode', 'x-wc' => 'AB', 'strict-tra