Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Error: Access to undeclared static property: Stripe\Collection::$HEADERS_TO_PERSIST in /app/vendor/stripe/stripe-php/lib/ApiOperations/Request.php on line 58 #434

Closed
rs-sliske opened this issue Feb 11, 2018 · 3 comments

Comments

@rs-sliske
Copy link

rs-sliske commented Feb 11, 2018

php: PHP 7.1.14-1+ubuntu16.04.1+deb.sury.org+1 (cli)

stripe: v6.0.0

the error happened when trying to add a card to an existing customer with

$src = $customer->sources->create(['source' => 'tok_visa']);

if it makes any difference i am using connect and the customer in question is part of a "custom" account

@ob-stripe
Copy link
Contributor

Hi @rs-sliske, thanks for the report and sorry about this issue! I've prepared a fix in #435 and we will release an updated version of the library shortly.

@rs-sliske
Copy link
Author

thanks

@ob-stripe
Copy link
Contributor

Fixed in 6.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants