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

Fix documentation for stripe: Gateway "stripe_checkout" and "stripe_js" does not exist #897

Open
KRens opened this issue Apr 2, 2021 · 2 comments

Comments

@KRens
Copy link

KRens commented Apr 2, 2021

To fix:
https://github.com/Payum/Payum/blob/master/docs/stripe/checkout.md
https://github.com/Payum/Payum/blob/master/docs/stripe/js.md

What to fix:
Replace:
->addGateway('gatewayName', [
'factory' => 'stripe_checkout',

    with:
        ->addGateway('stripe_checkout', [
    'factory' => 'stripe_checkout',

I just spend 3 hours trying to figure out why it did not work.
The prepare was refarring to stripe_checkout, as documented, but the gatewayname needed to be changed. This was not mentioned in the documentation!

@KRens KRens changed the title Gateway "stripe_js" does not exist Gateway "stripe_checkout" and "stripe_js" does not exist Apr 2, 2021
@KRens KRens changed the title Gateway "stripe_checkout" and "stripe_js" does not exist Fix documentation for stripe: Gateway "stripe_checkout" and "stripe_js" does not exist Apr 2, 2021
@pierredup
Copy link
Member

@KRens Can you please open a PR with the changes? Thanks.

@KRens
Copy link
Author

KRens commented Apr 5, 2021

Sorry, I'm more a manager than a developer. I don't even have git here. It will be faster for you to change probably.

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