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

Implement payment refunds and chargebacks functions #28

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

roman-rudakov
Copy link
Collaborator

  • Add embed option for payments.

  • Implement refunds API for payments.

  • Implement chargebacks API for payments.

  • Update dependencies.

  • Use spec instrumentation for testing, fix some spec issues.

  • Add some extra specs for future implementations (orders, settlements etc).

Note: there are not unit tests for new functions, because it's not possible to change a test payment state to paid
programmatically. Also there is no way to create a chargeback using API. All functions are tested manually in the REPL.

Close #20
Close #26
Close #27

@roman-rudakov roman-rudakov added the enhancement New feature or request label Feb 28, 2024
@roman-rudakov roman-rudakov self-assigned this Feb 28, 2024
- Add `embed` option for payments.

- Implement refunds API for payments.

- Implement chargebacks API for payments.

- Update dependencies.

- Use spec instrumentation for testing, fix some spec issues.

- Add some extra specs for future implementations (orders, settlements
etc).

Note: there are not unit tests for new functions, because it's not
possible to change a test payment state to `paid`
programmatically. Also there is no way to create a chargeback using
API. All functions are tested manually in the REPL.
@roman-rudakov roman-rudakov merged commit ac83798 into master Feb 28, 2024
3 checks passed
@roman-rudakov roman-rudakov deleted the feature/26-embeds branch February 28, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add chargebacks implementation. Add an option to request payment's embed's Add refunds implementation
3 participants