Bài viết phổ biến của tác giả
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用新的 migs getaway (MPGS) 我遵循了下一个 url 中的代码
https://ap-gateway.mastercard.com/api/documentation/integrationGuidelines/hostedCheckout/integrationModelHostedCheckout.html
<đầu>
đầu>
...
...
{
"cause":"INVALID_REQUEST",
"explanation":"Invalid request",
"supportCode":"6RVIIBKFVR6CG",
"result":"ERROR"
}
1 Câu trả lời
1. 使用以下 curl 请求或 API 请求 创建使用服务器到服务器请求的结帐 session 请求
网址 https://cibpaynow.gateway.mastercard.com/api/rest/version/60/merchant/{merchantId}/session
HTTP 方法 POST
身份验证 此操作需要通过以下方法之一进行身份验证:
证书认证。
w3.org 中描述的基本 HTTP 身份验证。提供“商家”。在用户 ID 部分和密码部分中的 API 密码。
{
"apiOperation": "CREATE_CHECKOUT_SESSION",
"interaction": {
"operation": "PURCHASE"
},
"order": {
"id": "anyorder",
"currency": "EGP",
"description": "Order Goods",
"amount": "10.00"
}
}
2. 从响应中获取 session ID 并将其放置在我创建的附加示例 HTML 页面中:
<đầu>
đầu>
...
...
关于integration - MPGS 集成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42891558/
我正在尝试使用新的 migs getaway (MPGS) 我遵循了下一个 url 中的代码 https://ap-gateway.mastercard.com/api/documentation/i
我正在尝试使用 MPGS 创建 token 。 我正在遵循本指南: https:// sample-sub.domain .mastercard.com/api/documentation/integ
Tôi là một lập trình viên xuất sắc, rất giỏi!