From 6c6ff885d832807bab9a4791039180d73feae2fb Mon Sep 17 00:00:00 2001 From: frank Date: Thu, 20 Oct 2022 12:31:28 +0800 Subject: [PATCH] braintree methods --- braintree.md | 2 +- static/braintree-sample.html | 710 +++++++++++++++++++++++++++++++++++ 2 files changed, 711 insertions(+), 1 deletion(-) create mode 100644 static/braintree-sample.html diff --git a/braintree.md b/braintree.md index daa3db7..9f5650c 100644 --- a/braintree.md +++ b/braintree.md @@ -1,4 +1,3 @@ -braintree.md # 获取authorization @@ -29,6 +28,7 @@ braintree.md ### Response * authorization是用来在付款页面调用braintree js sdk,用户填信用卡信息 +* [HTML付款页面示例](./static/braintree-sample.html) ```json { diff --git a/static/braintree-sample.html b/static/braintree-sample.html new file mode 100644 index 0000000..6090c68 --- /dev/null +++ b/static/braintree-sample.html @@ -0,0 +1,710 @@ + + + + + + + + + + + + + + + + + + + + Payment + + + + + + + + + + + + + + + +
+
+
+

Transaction No: {{.TransactionNo}}

+

Amount: {{.Amt}}

+

Currency: {{.Currency}}

+
+
+
+
+
+ + + +
+ First Name is required +
+
+
+ + + +
+ Last Name is required +
+
+
+ + +
+ Please enter a valid email +
+
+
+ + +
+ Please select country. +
+
+ + + + + + + +
+ + +
+ Please select state. +
+
+
+ + +
+ Please select city. +
+
+
+ + +
+ Please enter streetAddress. +
+
+
+ + +
+ Please enter streetAddress. +
+
+
+ + +
+ Please enter postal code. +
+
+
+ +
+
+ Credit card number is required +
+
+
+ +
+
+ Expiration date required +
+
+
+ +
+
+ Security code required +
+
+
+
+
+ + +
+
+
+
+ + + + + + +