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

Partial refund? #25

Open
chiduk opened this issue Aug 31, 2018 · 3 comments
Open

Partial refund? #25

chiduk opened this issue Aug 31, 2018 · 3 comments

Comments

@chiduk
Copy link

chiduk commented Aug 31, 2018

According to the docs, partial refund is available,
image

However, the api suggests only a full refund

//refund a charge through chargeid
var charge = new Paymentwall.Charge();
charge.otherOperation(chargeid,'refund',function(brick_response){
  // response is a new Response Object Entity (defined in paymentwall/lib/Response/Abstract)
  brick_response.getFullResponse();                      // get full response content in String format
  brick_response.getFullResponse('JSON');                // get full response content in JSON format
});

If I want to refund 90% of the charge amount, how do I do that?

@chiduk
Copy link
Author

chiduk commented Aug 31, 2018

Hello??
Is anybody monitoring here???
I need help.

@ivan-kovalyov
Copy link
Contributor

ivan-kovalyov commented Aug 31, 2018 via email

@chiduk
Copy link
Author

chiduk commented Sep 1, 2018

@ivan-kovalyov We need to issue partial refunds very often. Partial refunds occur when users cancel their schedule. Is there anyway you could implement this into the refund SDK?

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

No branches or pull requests

2 participants