Skip to content

YellowPay/yellowdemo-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yellow Demo

Demo code for creating and monitoring Yellow invoices.

This is a simple JAVA 'SERVLETS' site with three pages:

  1. A page to create an invoice in USD or AED and many other currencies
  2. A page to display the embedded invoice widget
  3. A page to show the invoice status

index.jsp contains sample code to create an invoice by issuing an authenticated request to the Yellow servers

status.jsp contains sample code to monitor a callback url ("IPN" Instant Payment Notification) for changes to the invoice status

Config.java contains all the common variables (apiKey, apiSecret & IPN url)

This demo server doesn't take any action when the invoice status changes - a real shopping cart integration would likely update an order management system and redirect customers to an order confirmation page.

Code comments contain additional documentation. For any other questions please email [email protected]

Thanks for using Yellow!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published