Test Scenarios for myPOS Web Checkout
Ready to test your integration? Here are the key scenarios to make sure everything works as expected.
Getting Started
Before you begin, make sure you have:
URL_Notify endpointTest Environment URL
https://www.mypos.com/vmp/checkout-testEssential Test Scenarios
Go through these scenarios to validate your integration:
Error in POST Request
Your integration should handle errors and show clear messages to users.
How to test: Send a request with missing parameters, wrong formats, or incorrect data types.
Invalid Signature
Ensures the system rejects tampered or incorrect requests.
How to test: Change the signature value before sending your request.
Verify Message Signature
Confirms the response from myPOS is authentic and hasn't been tampered with.
How to test: After a successful transaction, validate the signature in the response.
Customer Cancels Payment
Your system should handle cancellations smoothly without errors.
How to test: Start a payment, then cancel on the myPOS Checkout page. Check your URL_Cancel receives the cancellation.
Successful Payment
This is the main payment flow — complete a payment from start to finish.
How to test: Use a test card and confirm:
URL_OKURL_NotifySuccessful Payment, Failed Notification
If your server doesn't respond correctly, the payment will be reversed.
How to test: Complete a payment but make your server:
- • Not respond with
HTTP 200 OK - • Not return
OKin the body - • Be unreachable or timeout
Critical: Don't Skip This
Common Pitfall: Misconfigured URL_Notify
Even if your integration reaches the myPOS Checkout page, it does NOT mean your integration is complete.
What goes wrong:
- 1Customer enters card details
- 2Payment is processed
- 3myPOS cannot notify your system
- 4Payment is automatically reversed
- 5Customer is confused and you lose the sale
Common problems:
Notify URL is not publicly accessible (e.g., localhost)
Notify URL doesn't use HTTPS
Server doesn't return HTTP 200 OK with body "OK"
Public certificate is invalid or missing
How to Avoid This
Make sure your URL_Notify endpoint:
Example correct response:
Tip: Use tools like webhook.site or requestbin.com to test your notification endpoint before going live.
Testing Checklist
Before you finish, make sure you have:
0/8