Hello
After upgrading to the latest Stripe API and CBSubs gateway, we have an issue trying to make a new SEPA payment.
The error is :
Invalid URL: Non-ASCII characters in URLs must be percent-encoded in order for the URL to be valid.
Nothing has changed in our backend but the update of CB and CBsubs plugins. We only updated Stripe API to the latest one 2022-11-15 last week
Everything seems ok including old recurring payments but this morning we tried a SEPA payment for a new user and got this error.
The full error log is :
Code:
{
"error": {
"code": "url_invalid",
"doc_url": "https://stripe.com/docs/error-codes/url-invalid",
"message": "Invalid URL: Non-ASCII characters in URLs must be percent-encoded in order for the URL to be valid.",
"param": "return_url",
"request_log_url": "https://dashboard.stripe.com/logs/req_xxxxx",
"setup_intent": {
"id": "seti_XXXXXX",
"object": "setup_intent",
"cancellation_reason": null,
"client_secret": "xxxxxxxx",
"created": 1678712883,
"description": "CERCLE BUSINESS - ACTIV'H.A Negopack N5 avec paiement mensuel pour XXXX - Alain XXXX",
"last_setup_error": null,
"livemode": true,
"next_action": null,
"payment_method": null,
"payment_method_types": [
"card",
"sepa_debit"
],
"status": "requires_payment_method",
"usage": "off_session"
},
"type": "invalid_request_error"
}
}
Could you help me to solve this ?
Thanks