diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 419fd9b..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -Have you read our [Code of Conduct](https://github.com/Flutterwave/Python/blob/master/CONTRIBUTING.md)? By filing an Issue, you are expected to comply with it, including treating everyone with respect. - -# Description - - -# Steps to Reproduce - -1. -2. -3. - -## Expected behaviour - - -## Actual behaviour - - -## Reproduces how often - - -# Configuration -- API Version: -- Environment: -- Browser: -- Language: - -# Additional Information - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 07b6edc..f1af7db 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: false contact_links: - - name: SDK Integration Support - url: https://forum.flutterwave.com - about: If you're having general trouble with your integration, Kindly contact our support team. + - name: Integration Support + url: https://flutterwave.com/ng/support/submit-request + about: For help with this package, contact our support team and select "Integrations" in the support form. diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml index a2e239d..93d6197 100644 --- a/.github/workflows/security-scan.yml +++ b/.github/workflows/security-scan.yml @@ -26,4 +26,4 @@ jobs: base_uri: https://eu.ast.checkmarx.net/ cx_client_id: ${{ secrets.CX_CLIENT_ID }} cx_client_secret: ${{ secrets.CX_CLIENT_SECRET }} - additional_params: --scan-types sast,iac-security,api-security,sca,container-security \ No newline at end of file + additional_params: --scan-types sast,iac-security,api-security,sca,container-security diff --git a/CHANGELOG.MD b/CHANGELOG.MD index bf56e63..2588163 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,15 @@ # Changelog +## 1.4.2 | 2025-08-01 +Bugfixes and optimizations to Payment classes. +## Version changes. +- [FIXED] Response structure for Francophone Mobile Money Payments. +- [FIXED] Code clean-up + +## 1.4.1 | 2024-08-15 +Update Virtual Account. +## Version changes. +- [FIXED] Update virtual account creation call. +- [FIXED] Code clean-up ## 1.4.0 | 2023-07-21 Updated payment methods. diff --git a/README.md b/README.md index 3888661..ea1200a 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@

# Flutterwave Python Library. -![Upload Python Package](https://github.com/Flutterwave/rave-python/workflows/Upload%20Python%20Package/badge.svg) ![PyPI](https://img.shields.io/pypi/v/rave_python) ![PyPI - Downloads](https://img.shields.io/pypi/dm/rave_python) ![PyPI - License](https://img.shields.io/pypi/l/rave_python) @@ -710,7 +709,7 @@ rave = Rave("ENTER_YOUR_PUBLIC_KEY", "ENTER_YOUR_SECRET_KEY", usingEnv = False) # mobile payload payload = { "amount": "50", - "email": "", + "email": "cornelius@example.com", "phonenumber": "054709929220", "network": "MTN", "redirect_url": "https://rave-webhook.herokuapp.com/receivepayment", @@ -981,8 +980,8 @@ rave = Rave("ENTER_YOUR_PUBLIC_KEY", "ENTER_YOUR_SECRET_KEY", usingEnv = False) # mobile payload payload = { "amount": "50", - "email": "", - "phonenumber": "xxxxxxxx", + "email": "cornelius@example.com", + "phonenumber": "123456789", "redirect_url": "https://rave-webhook.herokuapp.com/receivepayment", "IP":"" } @@ -1233,7 +1232,7 @@ rave = Rave("ENTER_YOUR_PUBLIC_KEY", "ENTER_YOUR_SECRET_KEY", usingEnv = False) # mobile payload payload = { "amount": "50", - "email": "", + "email": "cornelius@example.com", "phonenumber": "054709929220", "redirect_url": "https://rave-webhook.herokuapp.com/receivepayment", "IP":"" @@ -2695,7 +2694,7 @@ This is used to create virtual account for transfers. This allows a customer to create a virtual account. It requires a dict ```vaccountDetails``` containing ```email```, ```seckey```, ```is_permanant```, ```frequency```, ```bvn```, ```duration``` and ```narration```. -A sample Create call is: +Here is an example call: ```py res = rave.VirtualAccount.create({