Skip to content

Add Capitec Pay and QR (Scan to Pay) charge flows - #132

Draft
peter-paystack wants to merge 1 commit into
mainfrom
feature/Capitec-and-Scan-to-Pay
Draft

Add Capitec Pay and QR (Scan to Pay) charge flows#132
peter-paystack wants to merge 1 commit into
mainfrom
feature/Capitec-and-Scan-to-Pay

Add Capitec Pay and QR (Scan to Pay) charge flows

30fed67
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 23, 2026 in 20s

Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 123 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayIdentifierEntryView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this function is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2CzkWu0uAdOym-&open=AZ-NqO2CzkWu0uAdOym-&pullRequest=132

Check failure on line 125 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayAwaitingApprovalView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this closure is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO1czkWu0uAdOym5&open=AZ-NqO1czkWu0uAdOym5&pullRequest=132

Check warning on line 138 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayIdentifierEntryView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "channelName" or name it "_".

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2CzkWu0uAdOynH&open=AZ-NqO2CzkWu0uAdOynH&pullRequest=132

Check failure on line 133 in Sources/PaystackUI/Charge/QR/Views/QRDisplayView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this closure is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2wzkWu0uAdOynO&open=AZ-NqO2wzkWu0uAdOynO&pullRequest=132

Check warning on line 131 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayIdentifierEntryView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "deviceId" or name it "_".

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2CzkWu0uAdOynE&open=AZ-NqO2CzkWu0uAdOynE&pullRequest=132

Check warning on line 132 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayIdentifierEntryView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "publicEncryptionKey" or name it "_".

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2CzkWu0uAdOynF&open=AZ-NqO2CzkWu0uAdOynF&pullRequest=132

Check warning on line 130 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayIdentifierEntryView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "transactionId" or name it "_".

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2CzkWu0uAdOynD&open=AZ-NqO2CzkWu0uAdOynD&pullRequest=132

Check warning on line 135 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayIdentifierEntryView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "transactionReference" or name it "_".

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2CzkWu0uAdOynG&open=AZ-NqO2CzkWu0uAdOynG&pullRequest=132

Check failure on line 119 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayAwaitingApprovalView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this closure is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO1czkWu0uAdOym4&open=AZ-NqO1czkWu0uAdOym4&pullRequest=132

Check warning on line 16 in Sources/PaystackSDK/API/Charge/QRService.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor your code to get this URI from a customizable parameter.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO3HzkWu0uAdOynR&open=AZ-NqO3HzkWu0uAdOynR&pullRequest=132

Check failure on line 124 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayIdentifierEntryView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this function is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2CzkWu0uAdOynA&open=AZ-NqO2CzkWu0uAdOynA&pullRequest=132

Check warning on line 118 in Sources/PaystackUI/Charge/CapitecPay/Viewmodels/CapitecPayViewModel.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Using the ID for vendors puts user privacy at risk. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2OzkWu0uAdOynI&open=AZ-NqO2OzkWu0uAdOynI&pullRequest=132

Check failure on line 133 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayAwaitingApprovalView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this closure is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO1czkWu0uAdOym8&open=AZ-NqO1czkWu0uAdOym8&pullRequest=132

Check warning on line 128 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayIdentifierEntryView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "identifier" or name it "_".

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2CzkWu0uAdOynB&open=AZ-NqO2CzkWu0uAdOynB&pullRequest=132

Check failure on line 124 in Sources/PaystackUI/Charge/QR/Views/QRDisplayView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this closure is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2wzkWu0uAdOynM&open=AZ-NqO2wzkWu0uAdOynM&pullRequest=132

Check warning on line 18 in Sources/PaystackSDK/API/Charge/CapitecPayService.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor your code to get this URI from a customizable parameter.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO3QzkWu0uAdOynS&open=AZ-NqO3QzkWu0uAdOynS&pullRequest=132

Check failure on line 126 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayAwaitingApprovalView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this closure is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO1czkWu0uAdOym6&open=AZ-NqO1czkWu0uAdOym6&pullRequest=132

Check warning on line 26 in Sources/PaystackUI/Charge/QR/Models/QRDetails.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor your code to get this URI from a customizable parameter.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2kzkWu0uAdOynJ&open=AZ-NqO2kzkWu0uAdOynJ&pullRequest=132

Check failure on line 141 in Sources/PaystackUI/Charge/QR/Views/QRDisplayView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this closure is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2wzkWu0uAdOynP&open=AZ-NqO2wzkWu0uAdOynP&pullRequest=132

Check failure on line 132 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayAwaitingApprovalView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this closure is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO1czkWu0uAdOym7&open=AZ-NqO1czkWu0uAdOym7&pullRequest=132

Check failure on line 142 in Sources/PaystackUI/Charge/QR/Views/QRDisplayView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this closure is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2wzkWu0uAdOynQ&open=AZ-NqO2wzkWu0uAdOynQ&pullRequest=132

Check warning on line 33 in Sources/PaystackUI/Charge/QR/Models/QRDetails.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor your code to get this URI from a customizable parameter.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2kzkWu0uAdOynK&open=AZ-NqO2kzkWu0uAdOynK&pullRequest=132

Check failure on line 118 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayAwaitingApprovalView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this closure is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO1czkWu0uAdOym3&open=AZ-NqO1czkWu0uAdOym3&pullRequest=132

Check failure on line 132 in Sources/PaystackUI/Charge/QR/Views/QRDisplayView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this closure is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2wzkWu0uAdOynN&open=AZ-NqO2wzkWu0uAdOynN&pullRequest=132

Check warning on line 129 in Sources/PaystackUI/Charge/CapitecPay/Views/CapitecPayIdentifierEntryView.swift

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "value" or name it "_".

See more on https://sonarcloud.io/project/issues?id=PaystackHQ_paystack-sdk-ios&issues=AZ-NqO2CzkWu0uAdOynC&open=AZ-NqO2CzkWu0uAdOynC&pullRequest=132