Skip to content

Commit

Permalink
feat: processed payment status
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed Mar 1, 2024
1 parent 6f5180f commit 47feaff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Enums/PaymentStatusEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/
enum PaymentStatusEnum: string
{
case PROCESSED = 'processed';
case PENDING = 'pending';
case FAILED = 'Failed';
}
1 change: 1 addition & 0 deletions tests/data/success.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><FetchRequestResponse xmlns="http://com.zenithbank.com/custom/cibupload"><FetchRequestResult xmlns:a="http://schemas.datacontract.org/2004/07/CIBUploadService.Models" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><a:Description>Successful</a:Description><a:ResponseCode>00</a:ResponseCode><a:TotalFailed>0</a:TotalFailed><a:TotalProcessed>0</a:TotalProcessed><a:TotalRecordReceived>0</a:TotalRecordReceived><a:Transactions><a:TransDetail><a:Amount>9450</a:Amount><a:Description/><a:PaymentStatus>processed</a:PaymentStatus><a:ResponseCode>00</a:ResponseCode><a:TransactionRef>000123</a:TransactionRef><a:VendorAccount>123456789</a:VendorAccount><a:VendorBankCode>057</a:VendorBankCode></a:TransDetail></a:Transactions></FetchRequestResult></FetchRequestResponse></s:Body></s:Envelope>

0 comments on commit 47feaff

Please sign in to comment.