GooglePaymentOption
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ข้อกำหนดสำหรับวิธีการชำระเงินที่ Google มีให้
การแสดง JSON |
{
"facilitationSpec": string
} |
ช่อง |
facilitationSpec |
string
BLOB ของ JSON บันทึกข้อมูลจำเพาะสำหรับวิธีที่ Google อำนวยความสะดวกในการชำระเงินสำหรับผู้รวมระบบ ซึ่งก็คือออบเจ็กต์ PaymentDataRequest ตามที่ระบุไว้ใน https://developers.google.com/pay/api/web/reference/object#PaymentDataRequest ตัวอย่าง: { "apiVersion": 2, "apiVersionMinor": 0, "merchantInfo": { "merchantName": "ตัวอย่าง Merchant" }, "allowedPaymentMethods": [ { "type": "CARD", "parameters": { "allowedAuthMethods": ["PAN_ONLY", "CRYPTOGRAM_3DS"], "allowedCardNetworks": ["AMEX", "DISCOVER", "JCB", "MASTERCARD", "VISA"] }, "tokenizationSpecification": { "type": "PAYMENT_GATEWAY", "parameters": { "gateway": "example", "gatewayMerchantId": "exampleGatewayMerchantId" } } } ], "transactionInfo": { "totalPriceStatus": "ESTIMATED", "totalPrice": "12.34", "currencyCode": "USD" }
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-28 UTC
[null,null,["อัปเดตล่าสุด 2025-07-28 UTC"],[[["\u003cp\u003eGoogle-provided payment methods utilize a JSON representation for specifying payment details.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003efacilitationSpec\u003c/code\u003e field contains a PaymentDataRequest object which outlines how Google handles the payment process for integrators.\u003c/p\u003e\n"],["\u003cp\u003eThis object includes information like merchant details, allowed payment methods, and transaction details like total price and currency.\u003c/p\u003e\n"]]],[],null,["# GooglePaymentOption\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRequirements for Google-provided payment method.\n\n| JSON representation ||\n|----------------------------------------|---|\n| ``` { \"facilitationSpec\": string } ``` |\n\n| Fields ||\n|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `facilitationSpec` | `string` This JSON blob captures the specification for how Google facilitates the payment for integrators, which is the PaymentDataRequest object as defined in \u003chttps://developers.google.com/pay/api/web/reference/object#PaymentDataRequest\u003e Example: { \"apiVersion\": 2, \"apiVersionMinor\": 0, \"merchantInfo\": { \"merchantName\": \"Example Merchant\" }, \"allowedPaymentMethods\": \\[ { \"type\": \"CARD\", \"parameters\": { \"allowedAuthMethods\": \\[\"PAN_ONLY\", \"CRYPTOGRAM_3DS\"\\], \"allowedCardNetworks\": \\[\"AMEX\", \"DISCOVER\", \"JCB\", \"MASTERCARD\", \"VISA\"\\] }, \"tokenizationSpecification\": { \"type\": \"PAYMENT_GATEWAY\", \"parameters\": { \"gateway\": \"example\", \"gatewayMerchantId\": \"exampleGatewayMerchantId\" } } } \\], \"transactionInfo\": { \"totalPriceStatus\": \"ESTIMATED\", \"totalPrice\": \"12.34\", \"currencyCode\": \"USD\" } } |"]]