Skip to content

Add accept method for Dispute#41

Merged
som-m merged 1 commit intoomise:masterfrom
som-m:dispute-accept
Feb 11, 2021
Merged

Add accept method for Dispute#41
som-m merged 1 commit intoomise:masterfrom
som-m:dispute-accept

Conversation

@som-m
Copy link
Copy Markdown
Contributor

@som-m som-m commented Feb 7, 2021

Summary

  • Add accept method for Dispute (Omise doc)
  • Add test

QA

You should be able to accept a dispute.

  1. Retrieve a dispute
    dispute = Omise::Dispute.retrieve("dspt_test_5msj7ya0c27fryquml7")

  2. Accept the dispute
    dispute.accept

  3. Check whether the dispute has been accepted, the status should be lost
    dispute.status

Copy link
Copy Markdown
Contributor

@zentetsukenz zentetsukenz left a comment

Choose a reason for hiding this comment

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

👍 Nice

@danfowler danfowler closed this Feb 11, 2021
@danfowler danfowler reopened this Feb 11, 2021
@som-m som-m merged commit 20a29f4 into omise:master Feb 11, 2021
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.

3 participants