Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

YounesCheikh/WalletixJavaApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

WalletixJavaApi

Walletix API for Java applications Version 1.1

You can use this api for both Desktop/Web Java application.

How to?

Include the WalletixJavaAPI.jar file into your project then import the package

import org.payment.wltx.Walletix;

Constructors:

if you want to make payment on sandbox to test Walletix :

Walletix walletix = new Walletix(VENDOR_ID, API_KEY , true); 

else:

Walletix walletix = new Walletix(VENDOR_ID, API_KEY, false); 
// OR best
Walletix walletix = new Walletix(VENDOR_ID, API_KEY) ;

Generate Payement:

// Generate and get the code
String generatedCode = new walletix.generatePaymentCode(PURCHASE_ID, AMOUNT,CALL_BACK_URL);

Verify Payment:

boolean vp = walletix.verifyPayment(generatedCode);

Delete Payment:

boolean dp = walletix.deletePayment(generatedCode);

Useful links:

About

Walletix API for Java applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages