Skip to content

Testing

Test your Pybara integration before accepting real payments.

  1. Navigate to WooCommerce → Settings → Payments → Pybara
  2. Enable Test Mode
  3. Save changes

Test mode uses the Internet Computer testnet, so no real funds are used.

  1. Add a product to your cart
  2. Proceed to checkout
  3. Select “Pybara” as payment method
  4. Connect a test wallet
  5. Complete the payment

For testing, you can use:

  • Oisy Wallet on testnet
  • Plug Wallet on testnet
  • Create a test Internet Identity
  1. Complete checkout with sufficient balance
  2. Verify order status changes to “Processing”
  3. Check order notes for transaction details
  1. Attempt payment with insufficient funds
  2. Verify error message is shown
  3. Order should remain “Pending payment”
  1. Start checkout but don’t complete payment
  2. Wait for timeout period (default: 15 minutes)
  3. Order should remain “Pending payment”
  1. Start checkout
  2. Close wallet without completing
  3. Order should remain “Pending payment”
  • Check browser console for errors
  • Verify merchant principal is correct
  • Ensure test mode is enabled
  • Check wallet has sufficient test tokens
  • Clear browser cache
  • Try different wallet
  • Check browser compatibility
  • Disable conflicting extensions

Once testing is complete:

  1. Disable Test Mode
  2. Verify merchant principal is correct
  3. Test one small real payment
  4. Monitor first few orders closely