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

[12.x] Update payment page #1094

Merged
merged 2 commits into from
Mar 15, 2021
Merged

[12.x] Update payment page #1094

merged 2 commits into from
Mar 15, 2021

Conversation

driesvints
Copy link
Member

This PR does a couple of things:

  • Update Tailwind to v2
  • Some minor styling tweaks
  • Adds requires_confirmation as a valid payment type to confirm payments on this page

Closes #1092

Copy link
Contributor

@benjamindoe benjamindoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<div v-show="requiresPaymentMethod || requiresConfirmation">

I think this is the wrong place for this check, it's much more like requiresAction as it doesn't require the user to enter payment method details.

<div v-show="requiresAction">

See Also:
https://stripe.com/docs/payments/intents

@driesvints driesvints marked this pull request as draft March 12, 2021 16:18
@driesvints driesvints marked this pull request as ready for review March 12, 2021 16:20
@driesvints
Copy link
Member Author

@benjamindoe good catch. Don't know why I didn't do that. I remember thinking the same a week ago. Thanks!

@taylorotwell taylorotwell merged commit e0f332a into 12.x Mar 15, 2021
@taylorotwell taylorotwell deleted the update-payment-page branch March 15, 2021 13:53
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.

Update Tailwind on payment page to v2
3 participants