- Issue created by @sah62
- 🇺🇸United States sah62 US
I posted this same question on StackExchange after not getting any feedback here:
https://drupal.stackexchange.com/questions/317446/user-error-funding-sou...
A response received there may contain the needed fix. This appears to be a Commerce PayPal issue. Here's the suggestion:
To create a valid render array, put the string the function returns in a markup render element:
$variables['order']['funding_source'] = ['#markup' => commerce_paypal_funding_source_label($data['funding_source'])];
That's in file commerce_paypal/commerce_paypal.module. I've made the change and am still testing to see if it solves the problem. If it does, this issue should be move to the Commerce PayPal issue queue with the fix included as a patch.
-
jsacksick →
committed 93f67aa7 on 8.x-1.x authored by
sah62 →
Issue #3394359 by sah62, Liliplanet: User error: "funding_source" is an...
-
jsacksick →
committed 93f67aa7 on 8.x-1.x authored by
sah62 →
- Status changed to Fixed
11 months ago 2:56am 11 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.