Skip to content

Commit 1ed9063

Browse files
committed
feat(bump): done
♬ Arion - The Light That Burns The Sky
1 parent dbf1bd9 commit 1ed9063

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

paypal_subscription/paypal.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def create_plan(self, product_id: str, name: str, description: str, price: str,
198198
url = f"{self.base_url}/v1/billing/plans"
199199
return self._make_request(url=url, method="POST", json=data, headers=self.headers)
200200

201-
def create_order(self, amount: str, currency: str = "EUR", return_url: str, cancel_url: str) -> Dict[str, Any]:
201+
def create_order(self, amount: str, currency: str = "EUR", return_url: str = '', cancel_url: str = '') -> Dict[str, Any]:
202202
"""
203203
Create a new order for a one-time payment.
204204
@@ -291,7 +291,7 @@ def update_subscription_price(self, subscription_id: str, new_price: str, curren
291291
}
292292
return self._make_request(url=url, method="POST", json=data, headers=self.headers)
293293

294-
def create_subscription(self, plan_id: str, subscriber_email: str, return_url: str, cancel_url: str, custom_id: str = '') -> Dict[str, Any]:
294+
def create_subscription(self, plan_id: str, subscriber_email: str, return_url: str = '', cancel_url: str = '', custom_id: str = '') -> Dict[str, Any]:
295295
"""
296296
Create a new subscription.
297297

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='paypal-subscription',
5-
version='0.1.1',
5+
version='0.1.2',
66
packages=find_packages(),
77
author='Codeat',
88
author_email='[email protected]',

0 commit comments

Comments
 (0)