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

Do not add pay later button in editor #2570

Open
wants to merge 4 commits into
base: trunk
Choose a base branch
from

Conversation

AlexP11223
Copy link
Contributor

In 4e34332 we removed all APMs in editor because it is difficult to determine which APMs are available when registering buttons separately in editor, canMakePayment does not work there.

But fundingSource was not set to paypal, so it could still render at least Pay Later button (in the same express payment method cell, breaking layout when there are other methods).

Fixed that, now only one PayPal button can be shown in editor.

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.

Multiple PayPal buttons are rendered in one express payment container (3535)
2 participants