feat(checkout): add CCAvenue payment provider and cookie-session retu…#1291
Open
asaini-godaddy wants to merge 2 commits intogodaddy:mainfrom
Open
feat(checkout): add CCAvenue payment provider and cookie-session retu…#1291asaini-godaddy wants to merge 2 commits intogodaddy:mainfrom
asaini-godaddy wants to merge 2 commits intogodaddy:mainfrom
Conversation
…rn flow - Add CCAvenue checkout button, icon, and return provider - Wrap with CCAvenueReturnProvider only when ccavenueConfig.accessCodeId is set - Use session from context (cookie) on CCAvenue return; remove sessionStorage token flow - Register CCAvenue in lazy-payment-loader, payment-form, types, and GraphQL - Update conditional-providers and use-confirm-checkout for CCAvenue - Add ccavenue localizations across locales - Update nextjs example and store actions Co-authored-by: Cursor <cursoragent@cursor.com>
|
packages/react/src/components/checkout/payment/utils/ccavenue-return-provider.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/checkout/payment/payment-form.tsx
Outdated
Show resolved
Hide resolved
| __schema: { | ||
| queryType: { | ||
| name: 'Query', | ||
| "name": "checkout-api", |
Collaborator
There was a problem hiding this comment.
run pnpm lint:fix in packages/react to clean this up.
packages/react/src/components/checkout/payment/checkout-buttons/ccavenue/ccavenue.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/checkout/payment/checkout-buttons/ccavenue/ccavenue.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/checkout/payment/checkout-buttons/ccavenue/ccavenue.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/checkout/payment/checkout-buttons/ccavenue/ccavenue.tsx
Show resolved
Hide resolved
packages/react/src/components/checkout/payment/checkout-buttons/ccavenue/ccavenue.tsx
Show resolved
Hide resolved
packages/react/src/components/checkout/payment/checkout-buttons/ccavenue/ccavenue.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/checkout/payment/checkout-buttons/ccavenue/ccavenue.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/checkout/payment/checkout-buttons/ccavenue/ccavenue.tsx
Outdated
Show resolved
Hide resolved
packages/react/src/components/checkout/payment/checkout-buttons/ccavenue/ccavenue.tsx
Outdated
Show resolved
Hide resolved
- Pass ccavenueConfig from env in Next.js example (accessCodeId, redirectURL) - CCAvenue button: user-friendly message for AUTHORIZATION_FAILED, remove debug logs - CCAvenue return: use useConfirmCheckout.mutateAsync for redirect and error handling - Remove Record typecasting for payment.methods.ccavenue and descriptions in payment-form Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…rn flow
Summary
Changeset
Test Plan