This is a sample application that uses the spring boot integration module of the sbpayment-java project.
- Create
it1.propertiesandit2.propertiesin a directory with the path '/ config'. it1.propertiesis Sbpayment information with API-Automaticit2.propertiesis Sbpayment information with API-Specified
sbpayment.apiUrl=https://sbpayment.jp
sbpayment.merchantId=MERCHANT_ID
sbpayment.serviceId=SERVICE_ID
sbpayment.basicAuthId=BASIC_ID
sbpayment.basicAuthPassword=BASIC_PASS
sbpayment.hashKey=HASH_KEY
sbpayment.cipherEnabled=true
sbpayment.desKey=01234567890123456789AAAA
sbpayment.desInitKey=ABCDEFGH- Run:
./gradlew :sbpayment-samples:sbpayment-sample-webapp:appRun
- Once started, use your favorite browser and visit this page:
http://localhost:8020/