Difficulty: Easy & Basic
1. Where should an order be created before a gateway call?
A Customer review form
B Card network directory
C Merchant order system
D Courier tracking page
Answer: C. Merchant order system. The merchant should retain the order record and its reference before initiating payment.
2. Why match a gateway payment to an order ID?
A Connect payment and order
B Choose a product category
C Set a courier route
D Change the card issuer
Answer: A. Connect payment and order. The reference makes transaction status traceable to the correct merchant order.
3. What should an integration do before sending a payment request?
A Delete the order record
B Validate checkout details
C Disable error handling
D Email secret API keys
Answer: B. Validate checkout details. Basic validation catches missing or invalid inputs before they reach the provider.
4. What does a server-side API key authenticate?
A Public review posts
B Merchant server requests
C Customer product searches
D Courier delivery scans
Answer: B. Merchant server requests. Secret keys authenticate privileged calls from the merchant's server.
5. Why keep secret keys out of browser code?
A Browsers expose client code
B Browsers cannot load pages
C Customers need bank access
D Keys expire on weekends
Answer: A. Browsers expose client code. Anything shipped to a browser can be inspected by users.
6. When a customer returns from hosted checkout, what confirms final status?
A Verified provider result
B Cart still being open
C Customer clicking refresh
D Return-page appearance alone
Answer: A. Verified provider result. Merchants should verify payment status through a trusted provider response rather than trust a page view.
7. What does a webhook provide?
A A customer password
B A product photograph
C Asynchronous event notification
D A shipping invoice
Answer: C. Asynchronous event notification. Webhooks notify the merchant system when a payment event occurs.
8. Why verify a webhook signature?
A Improve checkout styling
B Confirm message authenticity
C Increase card limit
D Estimate parcel weight
Answer: B. Confirm message authenticity. Signature verification helps establish that the event came from the expected provider and was not altered.
9. Why can a webhook arrive after checkout returns?
A Cards lack identifiers
B Events are asynchronous
C Browsers control settlement
D Orders require no server
Answer: B. Events are asynchronous. Asynchronous notifications may be delivered later than the customer redirect.
10. What should happen if a webhook is delivered twice?
A Delete both records
B Create two orders
C Process idempotently
D Charge the card again
Answer: C. Process idempotently. Webhook handlers should safely tolerate repeated event delivery.
11. What can a payment authorization hold represent?
A Completed merchant payout
B Reserved available funds
C Delivered parcel
D Cancelled customer account
Answer: B. Reserved available funds. An authorization may reserve funds without transferring them as a final settled payment.
12. What occurs when a merchant voids an uncaptured authorization?
A A parcel is returned
B Authorization is cancelled
C A new card is issued
D A refund is issued
Answer: B. Authorization is cancelled. A void cancels an authorization before capture when supported by the payment flow.
13. How does a refund differ from a void?
A Void updates card expiry
B Refund precedes authorization
C Refund follows captured payment
D Void ships the order
Answer: C. Refund follows captured payment. A refund returns a captured payment; a void cancels an uncaptured authorization.
14. What can a partial capture do?
A Change the cardholder
B Reverse an issuer decision
C Create a delivery label
D Capture part of authorization
Answer: D. Capture part of authorization. When supported, partial capture submits less than the full authorized amount.
15. Why should payment retries use provider guidance?
A Avoid duplicate or harmful requests
B Remove issuer checks
C Skip reconciliation
D Guarantee approval
Answer: A. Avoid duplicate or harmful requests. Retry rules and idempotency reduce duplicate operations and unnecessary repeated attempts.
16. Which payment method may use a stored payment token?
A Manual banknote
B Cash on delivery
C Paper cheque
D Card-on-file payment
Answer: D. Card-on-file payment. Tokens can represent saved payment credentials for permitted later use.
17. What does tokenization replace in merchant storage?
A Order description
B Customer email
C Delivery postcode
D Sensitive card number
Answer: D. Sensitive card number. A token substitutes for the original card number in supported payment flows.
18. What does a customer-facing statement descriptor show?
A Issuer decision rules
B Courier parcel contents
C Merchant transaction label
D Gateway API password
Answer: C. Merchant transaction label. Descriptors help customers recognize a charge on their account statement.
19. Why capture cardholder consent for recurring billing?
A Hide refund status
B Choose a colour palette
C Calculate parcel dimensions
D Document payment authorization
Answer: D. Document payment authorization. Recurring charges need appropriate customer authorization and clear terms.
20. Which step may add cardholder authentication to checkout?
A 3-D Secure challenge
B Order cancellation
C Warehouse picking
D Product filtering
Answer: A. 3-D Secure challenge. 3-D Secure can authenticate cardholders during card-not-present checkout.
21. What is a frictionless 3DS flow designed to avoid?
A Transaction record
B Payment confirmation
C Issuer authorization
D Unnecessary customer challenge
Answer: D. Unnecessary customer challenge. Risk-based data can allow authentication without presenting an interactive challenge when appropriate.
22. What does a challenge flow ask the shopper to do?
A Approve merchant refund
B Re-enter shipping address
C Complete added authentication
D Rate the product
Answer: C. Complete added authentication. A challenge requests an additional cardholder verification step.
23. Why use a sandbox webhook endpoint?
A Test event handling safely
B Publish a checkout page
C Settle real transactions
D Store production passwords
Answer: A. Test event handling safely. A test endpoint helps validate event processing without live payment activity.
24. What does a settlement report help compare?
A Customer passwords and emails
B Parcel labels and routes
C Product photographs and tags
D Processed payments and totals
Answer: D. Processed payments and totals. Settlement data supports reconciling gateway activity with expected processed amounts.
25. What should an error message avoid exposing?
A Secrets and card data
B Payment status
C General next steps
D Order reference
Answer: A. Secrets and card data. Customer-facing errors should be useful without exposing sensitive payment data.