خبير
EGP 28000
/ 3Year
حل متقدم للمؤسسات. خصائص متطورة للغاية بالإضافة إلى دعم من الدرجة الأولى لتحقيق أعلى مستوى من الأداء.
- الدعم غير المحدود لإدارة علاقات العملاء
- كافة التطبيقات والخصائص
- التخصيص غير المحدود
- دعم مجاني على مدار الساعة
https://atfawry.fawrystaging.com/ECommerceWeb/Fawry/payments/status/v2?merchantCode=is0N+YQzlE4=&merchantRefNumber=23124654641
&signature=a5701a2e1e865bf863f0c781829f709ea4d36bdaf7d70e9bafb9458b1
function FawryPayGetPaymentStatus(transaction_data) {
const PaymentData = {
merchantCode: transaction_data.merchantCode,
merchantRefNumber: transaction_data.merchantRefNumber,
signature: transaction_data.signature
};
// Use fetch to send the Payment Data to FawryPay Get Payment status API.
// https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
const response = await fetch('https://atfawry.fawrystaging.com/ECommerceWeb/Fawry/payments/status/v2', {
method: 'GET',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(PaymentData),
});
// Return and display the result of the charge.
return response.json();
}
{
"merchantCode":"dJWmdV+lPIE=",
"merchantRefNumber":"99662223332490123",
"signature":"67a3266b15ddbb9ce7a1eb8fa5c4f928defac59bc4f528e69f496f8e12fe4f4e"
}
{
"requestId":"c72827d084ea4b88949d91dd2db4996e",
"fawryRefNumber":"970177",
"merchantRefNumber":"9708f1cea8b5426cb57922df51b7f790",
"customerMobile":"01004545545",
"customerMail":"fawry@fawry.com",
"paymentAmount":152.00,
"orderAmount":150.00,
"fawryFees":2.00,
"shippingFees":null,
"orderStatus":"NEW",
"paymentMethod":"PAYATFAWRY",
"messageSignature":"56bca514b2cc6822bf972a869a008f03cacebb14d19829368daa647dbc212aa5",
"orderExpiryDate":1533554719314,
"orderItems":[{
"itemCode":"e6aacbd5a498487ab1a10ae71061535d",
"price":150.0,
"quantity":1
}],
"threeDSInfo": {
"eci": "05",
"xid": "VDj97t1qRJWM0ErrY2PtrBiSMQw=",
"enrolled": "Y",
"status": "Y",
"batchNumber": "0",
"command": "pay",
"message": "Approved",
"verSecurityLevel": "05",
"verStatus": "Y",
"verType": "3DS",
"verToken": "gIGCg4SFhoeIiYqLjI2Oj5CRkpM=",
"version": "1",
"receiptNumber": "1123456",
"sessionId": "SESSION0002818019663G5075633E86"
}
"invoiceInfo": {
"number": "28176849",
"businessRefNumber": "w0dd2fss41d2d2qs556",
"dueDate": "2021-06-19",
"expiryDate": 1625062277000
},
"installmentInterestAmount":0.0,
"installmentMonths":6
}
{
"type":" PaymentStatusResponse ",
"statusCode":9946,
"statusDescription":"Wrong Signature"
}