@@ -198,7 +198,7 @@ def create_plan(self, product_id: str, name: str, description: str, price: str,
198
198
url = f"{ self .base_url } /v1/billing/plans"
199
199
return self ._make_request (url = url , method = "POST" , json = data , headers = self .headers )
200
200
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 ]:
202
202
"""
203
203
Create a new order for a one-time payment.
204
204
@@ -291,7 +291,7 @@ def update_subscription_price(self, subscription_id: str, new_price: str, curren
291
291
}
292
292
return self ._make_request (url = url , method = "POST" , json = data , headers = self .headers )
293
293
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 ]:
295
295
"""
296
296
Create a new subscription.
297
297
0 commit comments