Skip to content

Commit

Permalink
Partial refunds and webhook for disputes (#67)
Browse files Browse the repository at this point in the history
* Partial refunds

* Add webhook handler for disputes
  • Loading branch information
Przemysław Świercz authored Sep 20, 2019
1 parent 519005f commit 8668ee5
Show file tree
Hide file tree
Showing 6 changed files with 413 additions and 186 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log
All notable changes to this project will be documented in this file.

## [0.9.2]
### Added
- partial refunds
- disputes webhook handler

## [0.9.1]
### Fixed
- fixed migrations
Expand Down
2 changes: 1 addition & 1 deletion aa_stripe/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
__title__ = "Ro Stripe"
__version__ = "0.9.1"
__version__ = "0.9.2"
__author__ = "Remigiusz Dymecki"
__license__ = "MIT"
__copyright__ = "Copyright 2019 Ro"
Expand Down
18 changes: 18 additions & 0 deletions aa_stripe/migrations/0022_stripecharge_amount_refunded.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 2.1.11 on 2019-09-17 11:57

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('aa_stripe', '0021_auto_20190906_1623'),
]

operations = [
migrations.AddField(
model_name='stripecharge',
name='amount_refunded',
field=models.IntegerField(default=0, help_text='in cents', null=True),
),
]
Loading

0 comments on commit 8668ee5

Please sign in to comment.