Bug #9263
Updated by krileon 10 months ago
Specifically the customer portal return URL in getStripeCustomerPortalURL. Despite this being sent as POST it appears the return_url still needs to be urlencoded. Review the API further and confirm applying urlencode won't break other usages. stripe @stripe Stripe Billing Portal API error returned. ERROR: Invalid URL: Non-ASCII characters in URLs must be percent-encoded in order for the URL to be valid. CODE: url_invalid: Payment method for this subscription cannot be changed. Call trace: called in class cbpaidHistory::logError() on line 571 in file cbpaidPayHandler.php called in class cbpaidPayHandler::_setLogErrorMSG() on line 684 in file cbpaidsubscriptions.stripe.php called in class cbpaidstripeoem::resultNotification() on line 743 in file cbpaidControllerCBTab.php called in class cbpaidControllerCBTab::getTabComponent() on line 1155 in file cbpaidsubscriptions.php called in class getcbpaidsubscriptionsTab::getTabComponent() on line 92 in file cbpaidControllerCBComponent.php called in class CBplug_cbpaidsubscriptions::getCBpluginComponent() on line 880 in file cbPluginHandler.php called in class cbPluginHandler::call() on line 1611 in file cbTabs.php called in class cbTabs::_callTabPlugin() on line 1725 in file cbTabs.php called in class cbTabs::tabClassPluginTabs() on line 731 in file comprofiler.php called in function tabClass() on line 284 in file comprofiler.php called in function require_once() on line 71 in file LegacyComponentDispatcher.php called in class Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() on line 73 in file LegacyComponentDispatcher.php LegacyComponentDispatcher.php@ https://www.joomlapolis.com/forum/developer-members-support/246237-cbsubs-change-payment-error#335611