InPost Pay Test Scenarios

InPost Pay Test Scenarios

Before starting the tests, install the InPost Mobile application (use the test build and follow the instructions in InPost Mobile test application).

If you successfully complete all scenarios, submit your store for an audit using the form available at https://inpostpay.pl/kontakt in the Audit tab.

🕵️ Once the audit is passed, the service can be launched in production 😊

 

 

Scenario 0 - Placing the Widget on Your Store

🎯 Goal: Verify the correct placement and functionality of the InPost Pay button on the store website (product page, cart, Thank You Page) on both desktop and mobile.

  1. Verify the placement of the InPost Pay button in your store against the InPost Pay Implementation Guide.

  2. Open your store page in a web browser.

  3. Go to a product page and check the placement of the button — remember that you can adjust the button’s color and border radius within the defined parameters to best fit your store design.

  4. Open the cart page and also verify the button placement according to the Implementation Guide.

  5. Place an order in the mobile app (e.g., following Scenario 1) and check if the Thank You Page appears on your store’s website.

  6. Repeat the test on the mobile version of your store.


 

Scenario 1 - Shopping with Payment Retry

🎯 Goal: Validate the flow of creating a cart, placing an order, and retrying payment for unpaid orders in the InPost Pay app.

  1. Open the store website in a mobile browser and go to a product page
    => the “Create basket with InPost” button is displayed.

  2. Click the button
    => option is shown: “Open in app: InPost / Browser”.

  3. Open in the InPost app and click the PUSH notification
    => the user is redirected to the Shopping tab in the InPost app, the InPost Pay Cart screen is displayed, contents match the store’s cart.

  4. Close the InPost app and return to the store page in the browser
    => “Products in InPost Pay cart” button is displayed, with the same product count as in the store cart.

  5. Close the store page, reopen the InPost app, go to Shopping
    => the abandoned cart is still visible.

  6. Open the cart in the app
    => contents are the same as before abandonment.

  7. Select delivery method Courier and enter address
    => total price includes delivery cost.

  8. Select a payment method and click “Buy and Pay”
    => Payment screen is displayed.

  9. Leave the Payment screen
    => Unpaid Order screen is displayed.

  10. Leave the Unpaid Order screen
    => Unpaid Purchases screen is displayed.

  11. Click “Go to Order List”
    => user is redirected to ORDERS in the Shopping tab, the order is listed.

  12. Open the order details in the app
    => products, amount due, delivery details, and payment method match the cart view.

  13. Click “Pay” and enter invalid authorization data
    => error message “Payment failed” is displayed.

  14. Click “Pay in another way”
    => user is returned to the order view.

  15. Click “Pay” and enter valid authorization data
    => success message “Order placed” is displayed.

  16. Click “View order”
    => user is redirected to the order view, order status is updated to paid, Pay button is no longer visible.

In sandbox you can simulate payments with BLIK test codes:

  • 777111 – positive authorization

  • 500500 – negative authorization

  • 700701 – code expired

  • 700702 – code canceled

  • 700703 – code already used


 

Scenario 2 - Shopping with InPost Pay and Cart Deletion

🎯 Goal: Ensure that deleting a cart in the app synchronizes correctly with the store, and that the purchase flow works properly after recreating the cart.

  1. Open the store website in a mobile browser and go to a product page
    => “Create basket with InPost” button is displayed.

  2. Click the button
    => option is shown: “Open in app: InPost / Browser”.

  3. Open in the InPost app and click the PUSH notification
    => user is redirected to Shopping tab, InPost Pay Cart is displayed, contents match the store.

  4. Return to the store page
    => “Products in InPost Pay cart” button displayed with correct product count.

  5. Click “Products in InPost Pay cart”
    => user is redirected to the app, cart matches the store.

  6. Delete the cart in the app and return to the store
    => cart removed from app list, “Create basket with InPost” button is shown again.

  7. Go to the cart page on the store site
    => cart contents unchanged, “Buy with InPost” button displayed.

  8. Click “Buy with InPost” and open cart in the app
    => cart contents match the store.

  9. Select delivery method Parcel Locker and choose location
    => total price includes delivery cost.

  10. Select payment method and check “I want an invoice”
    => Invoice details screen is displayed.

  11. Select Private person, enter required details, click Save
    => InPost Pay Cart screen shows invoice data.

  12. Click “Buy and Pay”
    => Payment screen is displayed.

  13. Return to the store page in the browser
    => “Thank you, that was really izi!” screen is shown.

  14. Click “Return to store homepage”
    => user redirected to the store homepage.

  15. Return to the InPost app and pay the order
    => success message “Order placed” is displayed.

  16. Click “View order”
    => user is redirected to order view, Pay button not visible, details match the cart.


 

Scenario 3 - Shopping Using a QR Code with Dynamic Cart Contents

🎯 Goal: Validate the cart pairing process using a QR code and ensure correct synchronization of cart contents between the store and the app.

  1. Open the store website in a desktop browser and go to a product page
    => the “Create basket with InPost” button is displayed.

  2. Click “Create basket with InPost”
    => the “Order and pay in the InPost Mobile app!” modal is shown; default pairing method is phone number.

  3. Click “Do it with a QR code”
    => a QR code is displayed instead of the phone number field.

  4. In the InPost app on your phone, go to Shopping and scan the QR code
    => you’re taken to the cart view in the app; cart contents match the store; the store shows “Products in InPost Pay cart” with the same product count as in the cart.

  5. Remove the product from the cart on the store site
    => the store cart is empty; the app shows “This cart is empty”.

  6. Return to the store, go to a product page, and add a product to the cart
    => the store shows “Products in InPost Pay cart” with the correct product count.

  7. Click “Products in InPost Pay cart”
    => the “Your purchases are waiting in the InPost Mobile app” modal is displayed.

  8. Click “Connect these purchases to another account” and then “Connect with another phone number”
    => the “Order and pay in the InPost Mobile app!” modal is displayed with phone number as default; the app shows “Oops… This cart does not exist or was deleted”.

  9. Enter the phone number linked to your InPost app and click “Connect”
    => “Yay! The cart is already waiting for you in InPost Mobile” modal appears; a pending cart appears in the app.

  10. Add the pending cart in the app
    => the modal on the store closes automatically; cart contents and product count are synchronized.

  11. Add a product to the cart on the store site
    => the product is added; the app cart matches the store; the InPost button count matches the cart.

  12. Change the product quantity in the store cart
    => the cart updates; the app cart matches the store; the InPost button count matches.

  13. Change the product quantity in the app cart
    => the cart updates; the store cart matches the app; the InPost button count matches.

  14. Add a suggested product in the app
    => the product is added; store and app carts match; InPost button count matches.

  15. Remove a product in the app
    => the cart updates; store and app carts match; InPost button count matches.


 

Scenario 4 - Shopping with Discount Codes and Cart Synchronization

🎯 Goal: Verify that discounts added or removed in the store and app synchronize correctly, and that the final order amount is displayed accurately.

  1. Open the store website in a desktop browser and go to a product page
    => the “Create basket with InPost” button is displayed.

  2. Click “Create basket with InPost”
    => “Order and pay in the InPost Mobile app!” modal is shown; default pairing is phone number.

  3. Enter the phone number linked to your InPost app and click “Connect”
    => “Yay! The cart is already waiting for you in InPost Mobile” modal; a pending cart appears in the app.

  4. Add the pending cart in the app
    => the modal on the store closes automatically; app cart matches the store cart.

  5. Apply a store discount code on the store site
    => product prices and totals update in both the store and the app; the app shows “Code activated” and “Store discount code {value}” label in totals.

  6. Remove the discount code from the cart in the app
    => prices and totals update in both the store and the app; the store discount code label disappears in the app.

  7. Add an invalid discount code in the app
    => the app shows “Discount code ‘{coupon}’ is invalid.”

  8. Add a store discount code in the app
    => prices and totals update in both the store and the app; the app shows “Code activated” and “Store discount code {value}” label.

  9. Add an InPost discount code in the app „TANIEJ2”
    => prices and totals update only in the app; the app shows “Code activated”, with “InPost discount code {value}” and “Store discount code {value}” labels in totals.

  10. Select delivery method and payment method
    => the total in the app includes delivery cost.

  11. Check all required consents and click “Buy and Pay”
    => the Payment screen is displayed.

  12. Complete the payment
    => “Order placed” success message is displayed.

  13. Click “View order”
    => user is taken to the order details; Pay button is not visible; products, “Product price (includes store discount)”, “InPost discount code {value}”, total amount, delivery, invoice data, and payment method match the cart.

  14. Open the store’s admin panel and find the order
    => order details match what’s in the app: products, gross total, delivery, invoice data, consents.

  15. Generate a shipment number and update the order status
    => the order is updated in the app; the tracking number is visible on the order details.


 

Scenario 5 - Shopping for a Logged-In Store User with Dynamic Cart Contents

🎯 Goal: Ensure that the purchase flow for a logged-in store user works correctly and that the cart stays synchronized between the store and the app when contents change.

  1. Open the store website in a desktop browser.

  2. Log in or create a store account.

  3. Go to a product page
    => the “Create basket with InPost” button is displayed.

  4. Click “Create basket with InPost”
    => “Order and pay in the InPost Mobile app!” modal; default pairing is phone number.

  5. Enter the phone number linked to your InPost app and click “Connect”
    => “Yay! The cart is already waiting for you in InPost Mobile” modal; a pending cart appears in the app.

  6. Add the pending cart in the app
    => the modal on the store closes automatically; app cart matches the store.

  7. Remove a product from the store cart
    => store cart becomes empty; the app shows “This cart is empty”.

  8. Return to the store, go to a product page, and add a product to the cart
    => the store shows “Products in InPost Pay cart” with the correct count.

  9. Click “Products in InPost Pay cart”
    => “Your purchases are waiting in the InPost Mobile app” modal is displayed.

  10. Change the product quantity in the store cart
    => the cart updates; the app cart matches; InPost button count matches.

  11. Change the product quantity in the app cart
    => the cart updates; the store cart matches; InPost button count matches.

  12. Add a suggested product in the app
    => product added; carts match; InPost button count matches.

  13. Remove a product in the app
    => cart updates; carts match; InPost button count matches.

  14. Click “Buy and Pay”
    => Payment screen is displayed.

  15. Return to the store website
    => “Thank you, that was really izi!” screen is shown.

  16. Click “Return to store homepage”
    => user is redirected to the store homepage.

  17. Return to the InPost app and complete the payment
    => “Order placed” success message is displayed.

  18. Click “View order”
    => user is taken to order details; Pay button not visible; products, amount due, delivery, invoice data, and payment method match the cart.


 

Scenario 6 - Handling Digital Products and Electronic Delivery (if your store offers such products)

🎯 Goal: Validate the handling of digital products (e.g., e-books), including entering an email address for electronic delivery and completing mixed orders (digital + physical).

  1. Open the store website in a desktop or mobile browser.

  2. Go to a digital product page
    => the “Create basket with InPost” button is displayed.

  3. Click “Create basket with InPost”
    => “Order and pay in the InPost Mobile app!” modal; default pairing is phone number.

  4. Enter the phone number linked to your InPost app and click “Connect”
    => “Yay! The cart is already waiting for you in InPost Mobile” modal; a pending cart appears in the app.

  5. Add the pending cart in the app
    => the modal on the store closes automatically; app cart matches the store.

  6. Verify the digital product is correctly visible in the cart.

  7. Under the digital product, verify the field “The store will send digital products to” that allows entering the email for electronic delivery. Enter the email address.

  8. Click “Buy and Pay”
    => Payment screen is displayed.

  9. Return to the store website
    => “Thank you, that was really izi!” screen is shown.

  10. Click “Return to store homepage”
    => user is redirected to the store homepage.

  11. Return to the InPost app and complete the payment
    => “Order placed” success message is displayed.

  12. Click “View order”
    => user is taken to order details; Pay button not visible; products, amount due, delivery, invoice data, and payment method match the cart.

  13. In your store admin, verify the electronic delivery email is correctly captured.

  14. Repeat the test with a mixed cart — containing both a digital and a physical product.


 

Scenario 7 - Passing Available Promo Codes with the Customer’s Cart to InPost Pay

🎯 Goal: Ensure that the store’s valid promo codes are correctly passed to the app and that customers can easily apply them.

  1. Ensure promo codes are correctly passed to the mobile app in your store’s InPost Pay configuration.

  2. Open the store website in a desktop or mobile browser.

  3. Go to a product page that is covered by the promo code
    => the “Create basket with InPost” button is displayed.

  4. Click “Create basket with InPost”
    => “Order and pay in the InPost Mobile app!” modal; default pairing is phone number.

  5. Enter the phone number linked to your InPost app and click “Connect”
    => “Yay! The cart is already waiting for you in InPost Mobile” modal; a pending cart appears in the app.

  6. Add the pending cart in the app
    => the modal on the store closes automatically; app cart matches the store.

  7. Verify the configured promo code is displayed at the top of the cart in the InPost Pay app.

  8. Apply the promo code by tapping it
    => the code is automatically applied to the cart.

  9. Verify the price changed as expected.

  10. Return to the store cart and verify the promo code is also applied there.

  11. Click “Buy and Pay”
    => Payment screen is displayed.

  12. Return to the store website
    => “Thank you, that was really izi!” screen is shown.

  13. Click “Return to store homepage”
    => user is redirected to the store homepage.

  14. Return to the InPost app and complete the payment
    => “Order placed” success message is displayed.

  15. Click “View order”
    => user is taken to order details; Pay button not visible; products, amount due, delivery, invoice data, and payment method match the cart.

  16. In your store admin, verify the applied promo code is correctly visible on the order.


 

Scenario 8 - Shopping with Suggested/Recommended Products

🎯 Goal: Verify that suggested products are displayed correctly in the app and can be added/removed from the cart while staying synchronized with the store.

  1. Open the store website in a desktop or mobile browser.

  2. Go to a product page
    => the “Create basket with InPost” button is displayed.

  3. Click “Create basket with InPost”
    => “Order and pay in the InPost Mobile app!” modal; default pairing is phone number.

  4. Enter the phone number linked to your InPost app and click “Connect”
    => “Yay! The cart is already waiting for you in InPost Mobile” modal; a pending cart appears in the app.

  5. Add the pending cart in the app
    => the modal on the store closes automatically; app cart matches the store.

  6. Verify a list of suggested/recommended products is visible under the added product in the app cart.

  7. Add a suggested product in the app
    => product added; app and store carts match; InPost button count matches.

  8. Remove a product in the app
    => cart updates; app and store carts match; InPost button count matches.

  9. Click “Buy and Pay”
    => Payment screen is displayed.

  10. Return to the store website
    => “Thank you, that was really izi!” screen is shown.

  11. Click “Return to store homepage”
    => user is redirected to the store homepage.

  12. Return to the InPost app and complete the payment
    => “Order placed” success message is displayed.