bootpay-backend 2.1.0__tar.gz → 2.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bootpay-backend
3
- Version: 2.1.0
3
+ Version: 2.1.2
4
4
  Summary: bootpay server side plugin for python
5
5
  Home-page: https://github.com/bootpay/backend-python/tree/2-x-development
6
6
  Author: bootpay <bootpay.co.kr@gmail.com>
@@ -9,7 +9,7 @@ class BootpayBackend:
9
9
  'production': 'https://api.bootpay.co.kr/v2'
10
10
  }
11
11
  API_VERSION = '5.0.0'
12
- SDK_VERSION = '2.1.0'
12
+ SDK_VERSION = '2.1.2'
13
13
 
14
14
  def __init__(self, application_id, private_key, mode='production'):
15
15
  self.application_id = application_id
@@ -214,14 +214,15 @@ class BootpayBackend:
214
214
  return self.__request(method='delete', url=self.__entrypoints(f'subscribe/payment/reserve/{reserve_id}'))
215
215
 
216
216
  def shipping_start(self, receipt_id='', tracking_number='', delivery_corp='', shipping_prepayment=None,
217
- shipping_day=None, user=None, company=None):
217
+ shipping_day=None, user=None, company=None, redirect_url=None):
218
218
  return self.__request(method='put', url=self.__entrypoints(f'escrow/shipping/start/{receipt_id}'), data={
219
219
  "tracking_number": tracking_number,
220
220
  "delivery_corp": delivery_corp,
221
221
  "shipping_prepayment": shipping_prepayment,
222
222
  "shipping_day": shipping_day,
223
223
  "user": user,
224
- "company": company
224
+ "company": company,
225
+ "redirect_url": redirect_url,
225
226
  })
226
227
 
227
228
  # 현금영수증 발행
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bootpay-backend
3
- Version: 2.1.0
3
+ Version: 2.1.2
4
4
  Summary: bootpay server side plugin for python
5
5
  Home-page: https://github.com/bootpay/backend-python/tree/2-x-development
6
6
  Author: bootpay <bootpay.co.kr@gmail.com>
@@ -9,7 +9,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
9
9
 
10
10
  setuptools.setup(
11
11
  name = 'bootpay-backend',
12
- version = '2.1.0',
12
+ version = '2.1.2',
13
13
  description = 'bootpay server side plugin for python',
14
14
  long_description=long_description,
15
15
  long_description_content_type='text/markdown',
File without changes