'BBPOS WISEPOS E with Stripe inconsistent

We have the Stripe BBPOS WISEPOS E terminal in our store to take customer card payments, the method we use is;

We have a laptop, which after the amount is entered we press the Pay with card button, which activates the Stripe Card Terminal, the amount is then shown on the terminal.

  1. create connection token of terminal : connection_token
  2. discover reader : terminal.discoverReaders()
  3. connect reader : terminal.connectReader()
  4. create stripe id if not exist : CreateStripeCustomer
  5. create payment intent : create_payment_intent
  6. collect payment : terminal.collectPaymentMethod(client_secret)
  7. process payment : terminal.processPayment()
  8. capture payment : capture_payment_intent

However what happens is when the device shows the amount the customer taps the card, we hear the beep sometimes the payments go through instantly, sometimes nothing happens, the customer will tap again and again and then it finally goes through. We are using the same wifi on the laptop and the card reader and it is a great connection speed. We are not sure how to fix this because there are no errors.

after terminal.collectPaymentMethod() (step 6), our system is waiting for the tapping of the card. once a card is tapped reader sends a response. this response is used to process payment (step 7)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source