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

[FEATURE] add support for collecting and refunding charges on payments #4659

Open
2 tasks done
kashif-m opened this issue May 15, 2024 · 1 comment · Fixed by #4628 · May be fixed by #4771
Open
2 tasks done

[FEATURE] add support for collecting and refunding charges on payments #4659

kashif-m opened this issue May 15, 2024 · 1 comment · Fixed by #4628 · May be fixed by #4771
Assignees
Labels
C-feature Category: Feature request or enhancement

Comments

@kashif-m
Copy link
Contributor

Feature Description

Charges can be collected on payments for collecting fees for resellers. Adyen, Stripe allows creating charges on payment intents using their marketplace platform.

The support for collecting charges on payments and refunding charges needs to be added.

Possible Implementation

Payments

  • A new field charges is introduced to read charge specific details
  • Charge details are sent to the connector where request is transformed and sent
  • charge_id is returned by the connector which is persisted in payment_attempt table. This can later be used for refunding charges

Refunds

  • A new field charges is introduced to read charge id and refund options
  • charges created during payments is fetched and used as a reference
  • Charge details are sent to the connector where request is transformed and sent

Have you spent some time checking if this feature request has been raised before?

  • I checked and didn't find a similar issue

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

Yes, I am willing to submit a PR!

@kashif-m kashif-m added C-feature Category: Feature request or enhancement S-awaiting-triage Status: New issues that have not been assessed yet labels May 15, 2024
@kashif-m kashif-m self-assigned this May 15, 2024
@SanchithHegde SanchithHegde removed the S-awaiting-triage Status: New issues that have not been assessed yet label May 26, 2024
@kashif-m kashif-m linked a pull request May 27, 2024 that will close this issue
14 tasks
@kashif-m kashif-m reopened this May 27, 2024
@kashif-m
Copy link
Contributor Author

Re-opened for merging PR for charges sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: Feature request or enhancement
Projects
None yet
2 participants