Stripe List Payment Methods fails

Wappler Version : 3.9.4
Operating System : mac
Server Model: php
Database Type:
Hosting Type: custom

Expected behavior

I should be able to retrieve a list of payment methods for a stripe customer id.

Actual behavior

{"code":0,"file":"\/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/stripe\/lib\/Service\/AbstractService.php","line":52,"message":"array_walk_recursive() expects parameter 1 to be array, string given","trace":"#0 [internal function]: exception_error_handler()\n#1 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/stripe\/lib\/Service\/AbstractService.php(52): array_walk_recursive()\n#2 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/stripe\/lib\/Service\/AbstractService.php(64): Stripe\\Service\\AbstractService::formatParams()\n#3 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/stripe\/lib\/Service\/PaymentMethodService.php(21): Stripe\\Service\\AbstractService->requestCollection()\n#4 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/modules\/stripe.php(1495): Stripe\\Service\\PaymentMethodService->all()\n#5 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/lib\/App.php(195): modules\\stripe->listPaymentMethods()\n#6 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/lib\/App.php(159): lib\\App->execSteps()\n#7 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/lib\/App.php(127): lib\\App->execSteps()\n#8 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/modules\/core.php(183): lib\\App->exec()\n#9 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/lib\/App.php(195): modules\\core->exec()\n#10 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/lib\/App.php(127): lib\\App->execSteps()\n#11 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnectLib\/lib\/App.php(94): lib\\App->exec()\n#12 \/home\/dev-01\/domains\/sb.dev.uniqueideas.com\/public_html\/dmxConnect\/api\/stripe\/set_customer.php(8): lib\\App->define()\n#13 {main}"}

How to reproduce

Use the List Payment Methods action as follows:

Here is an update to fix the problem

2 Likes

Thanks guys, always nice to be able to keep moving without waiting a week.

1 Like

Fixed in Wappler 3.9.5

This topic was automatically closed after 28 hours. New replies are no longer allowed.