ソースを参照

Passing actual data to payment gateway

master
kj1352 5年前
コミット
347ab29073
1個のファイルの変更4行の追加4行の削除
  1. +4
    -4
      src/app/cart/cart.page.ts

+ 4
- 4
src/app/cart/cart.page.ts ファイルの表示

@@ -273,10 +273,10 @@ export class CartPage implements OnInit {

requestInvoice() {
let invoice_data = {
"name": "Nikhil",
"email": "kj@webtrigon.com",
"contact": "1234567",
"total_amt": 1000,
"name": this.userInfo.name,
"email": this.userInfo.email,
"contact": this.userInfo.mobile,
"total_amt": ((this.getTotalCartAmount() + 20) + (this.getTotalCartAmount() + 20) * (18 / 100)),
"description": "This payment is towards testing Invoice feature",
"receipt": "#asdsdsdf",
"email_notify": 1


読み込み中…
キャンセル
保存