使用ngcart angularjs和php在线支付

使用ngcart angularjs和php在线支付,php,angularjs,Php,Angularjs,我用的是ngcart 建造我的购物车。但是我不知道怎么付款。当点击checkout时,如何通过php代码获取数据库中项目和人员的信息。这是我的表单-人员输入信息 <form action="" method="POST"> <div class="form-group"> <label for="">Name</label>

我用的是ngcart

建造我的购物车。但是我不知道怎么付款。当点击checkout时,如何通过php代码获取数据库中项目和人员的信息。这是我的表单-人员输入信息

    <form action="" method="POST">
        <div class="form-group">                
                    <label for="">Name</label>
                    <input class="form-control" type="text" name="name" ng-model="name" required>
                    </div>
                        <div class="form-group">                
                    <label for="">Email</label>
                    <input class="form-control" type="email" name="email" ng-model="email" required>
                    </div>  
                    <div class="form-group">                
                    <label for="">Telephone</label>
                    <input class="form-control" type="tel" name="tel" ng-model="tel" required>
                    </div>
               <button type="submit">Checkout</button>
    </form>

名称
电子邮件
电话
结账

您有ngCart定义的函数来获取产品详细信息。我已经更新了小提琴。要发布值,我们可以使用ngCart函数
ngCart.getItems()
获取购物车详细信息。有关功能,请参阅文档