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

update documentation to use appInfo #1311

Merged
merged 1 commit into from Feb 26, 2022

Conversation

christianaranda
Copy link
Contributor

This request updates the documentation to use the correct way to send appInfo, taken from the PR found here:

The current documentation references a deprecated method stripe.setAppInfo({}) for setting appInfo on requests. Using the current documentation results in this error:

stripe.appInfo({
       ^

TypeError: stripe.appInfo is not a function
    at Object.<anonymous> (/Users/caranda/Documents/Ignitio/repositories/stripe-collector/index.js:7:8)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47

@CLAassistant
Copy link

CLAassistant commented Dec 17, 2021

CLA assistant check
All committers have signed the CLA.

@richardm-stripe
Copy link
Contributor

Thank you for the contribution!

@richardm-stripe richardm-stripe merged commit 2d75754 into stripe:master Feb 26, 2022
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

Successfully merging this pull request may close these issues.

None yet

3 participants