working implementation for poc

This commit is contained in:
2025-08-28 22:24:11 +02:00
parent 112832e262
commit 67752d689d
10 changed files with 62 additions and 8 deletions

View File

@@ -0,0 +1,2 @@
# sbz.merchant.url=http://localhost:24000/v1
sbz.merchant.url=https://api.stewardpay.co.zw/lab/v2

View File

@@ -0,0 +1,31 @@
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
<changeSet author="vk (generated)" id="1756328366833-1">
<addColumn tableName="transaction">
<column name="erp_journal_ref" type="varchar(255)"/>
</addColumn>
</changeSet>
<changeSet author="vk (generated)" id="1756328366833-2">
<addColumn tableName="transaction">
<column name="erp_purchase_payment_ref" type="varchar(255)"/>
</addColumn>
</changeSet>
<changeSet author="vk (generated)" id="1756328366833-3">
<addColumn tableName="transaction">
<column name="erp_purchase_ref" type="varchar(255)"/>
</addColumn>
</changeSet>
<changeSet author="vk (generated)" id="1756328366833-4">
<addColumn tableName="transaction">
<column name="erp_sales_payment_ref" type="varchar(255)"/>
</addColumn>
</changeSet>
<changeSet author="vk (generated)" id="1756328366833-5">
<addColumn tableName="transaction">
<column name="erp_sales_ref" type="varchar(255)"/>
</addColumn>
</changeSet>
<changeSet author="vk (generated)" id="1756328366833-6">
<dropColumn columnName="erp_ref" tableName="transaction"/>
</changeSet>
</databaseChangeLog>

View File

@@ -1,6 +1,6 @@
changeLogFile=src/main/resources/liquibase-diff-changeLog.xml
url=jdbc:postgresql://173.212.247.232:5432/qpay?serverTimezone=Africa/Harare&useLegacyDatetimeCode=false
username=root
url=jdbc:postgresql://173.212.247.232:5532/qpay?serverTimezone=Africa/Harare&useLegacyDatetimeCode=false
username=postgres
password=zdDZMzq6F4B4L1IUl
driver=org.postgresql.Driver