diff --git a/README.md b/README.md index c9f0adc..e04c3e1 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,11 @@
- - AAIO Badge - +[//]: # () + +[//]: # ( AAIO Badge) + +[//]: # () [![kewldan - AAIO](https://img.shields.io/static/v1?label=kewldan&message=AAIO&color=blue&logo=github)](https://github.com/kewldan/AAIO "Go to GitHub repo") [![GitHub release](https://img.shields.io/github/release/kewldan/AAIO?include_prereleases=&sort=semver&color=blue)](https://github.com/kewldan/AAIO/releases/) diff --git a/src/aaio/AAIO.py b/src/aaio/AAIO.py index 3d5bff4..3a11f1a 100644 --- a/src/aaio/AAIO.py +++ b/src/aaio/AAIO.py @@ -110,7 +110,7 @@ def create_payment(self, amount: float, order_id: str, description: str = None, 'us_key': us_key } - return f'https://aaio.io/merchant/pay?' + urlencode({k: v for k, v in params.items() if v is not None}) + return f'{self._base_url}/merchant/pay?' + urlencode({k: v for k, v in params.items() if v is not None}) async def get_ips(self) -> List[str]: response = await self.__create_request('/api/public/ips')