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

pass card info in payment edit #591

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

kierangillen
Copy link
Contributor

  • pass the card, (last 4, expire and brand) details in payment update so we can set if missing billing info

@vercel
Copy link

vercel bot commented Nov 18, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/seasons-nyc/flare/DujyxnToYYg1mT5LNz1nJm9foHYE
✅ Preview: Failed

@@ -41,8 +40,8 @@ export const EditPaymentFormFragment_Query = gql`
`

const UpdatePaymentMethod_Mutation = gql`
mutation UpdatePaymentMethod_Mutation($paymentMethodID: String!, $planID: String!, $billing: JSON) {
updatePaymentMethod(paymentMethodID: $paymentMethodID, planID: $planID, billing: $billing)
mutation UpdatePaymentMethod_Mutation($paymentMethodID: String!, $planID: String!, $billing: JSON, $card: JSON) {
Copy link
Contributor

Choose a reason for hiding this comment

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

https://github.com/seasons/monsoon/blob/master/src/modules/Payment/mutations/payment.mutations.ts#L77-L90 are we missing a PR for monsoon. That mutation doesn't take $card as a param

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

2 participants