Server is running on: http://localhost:8000
URL: pay-connector.php
<?xml version="1.0" encoding="UTF-8"?> <Response><Pay paymentConnector="Ubaidullah"/></Response>
<?xml version="1.0" encoding="UTF-8"?> <Response><Say voice="alice" language="en-US">You will be charged 10 dollars for this service.</Say><Pay paymentConnector="Ubaidullah" chargeAmount="10.00" currency="usd" action="http://localhost:8000/payment-status.php" method="POST"/></Response>
<?xml version="1.0" encoding="UTF-8"?> <Response><Say voice="alice" language="en-US">We will now collect your payment information for future use.</Say><Pay paymentConnector="Ubaidullah" chargeAmount="0" action="http://localhost:8000/payment-token-handler.php" method="POST"/></Response>
URL: complete-payment-flow.php?amount=15.00
<?xml version="1.0" encoding="UTF-8"?> <Response><Say voice="alice" language="en-US">Welcome to our payment service.</Say><Say voice="alice" language="en-US">You will be charged 15.00 dollars. Please have your credit card ready.</Say><Pause length="1"/><Pay paymentConnector="Ubaidullah" chargeAmount="15.00" currency="usd" action="http://localhost:8000/payment-status.php" method="POST"/></Response>