dongyue7796 2017-06-21 15:17
浏览 16

too long

I'm developing an EPOS system using Laravel, Vue and Pusher. I want to integrate a card reader so that on the EPOS the user can specify how much money to charge the customer on the card machine, then wait for a response from the card reader to then process the payment.

I've looked at Stripe but all I see is a manual input option where the user must type in the card information into Stripe's programmatic input fields (pulled from their hosted script) and then on the server side all you get is a token that you use to interact with Stripe's API. That's all very good, since the card information doesn't even hit your server, but it's not great for a POS system designed for convenience stores.

I haven't been able to find any card reader that explicitly states you can use an API to interact with it - they are all just plug-and-play.

Here's the concept of what I want to achieve:

  1. EPOS operator requests a card payment of X amount.
  2. Amount gets sent to the card reader via server/client API
  3. Card reader accept payment for the given amount
  4. Card reader sends payment to payment provider server (Stripe or equivalent)
  5. EPOS system listens for the response from the payment provider
  6. Show any errors if any, else if successful close the transaction

Is there a product that facilitates this or is there a more elegant solution to handling this?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 求daily translation(DT)偏差订正方法的代码
    • ¥15 js调用html页面需要隐藏某个按钮
    • ¥15 ads仿真结果在圆图上是怎么读数的
    • ¥20 Cotex M3的调试和程序执行方式是什么样的?
    • ¥20 java项目连接sqlserver时报ssl相关错误
    • ¥15 一道python难题3
    • ¥15 牛顿斯科特系数表表示
    • ¥15 arduino 步进电机
    • ¥20 程序进入HardFault_Handler
    • ¥15 关于#python#的问题:自动化测试