Я тестирую изолированную среду JazzCash для обработки платежей в своем приложении Laravel, но столкнулся с проблемой. Транзакция не удалась, и возвращается код ответа 199 с сообщением:
**"Извините! Ваша транзакция не прошла успешно. Повторите попытку позже".
Запрос JSON
Ниже приведен запрос JSON, отправляемый на сервер JazzCash:
{
"pp_Version": "1.1",
"pp_TxnType": "MWALLET",
"pp_Language": "EN",
"pp_MerchantID": "my_marchant_id",
"pp_SubMerchantID": null,
"pp_UsageMode": "PR",
"pp_Password": "my_password",
"pp_BankID": "",
"pp_ProductID": "",
"pp_TxnRefNo": "T17355384763161",
"pp_Amount": "30000",
"pp_DiscountedAmount": "",
"pp_TxnCurrency": "PKR",
"pp_TxnDateTime": "20241230060116",
"pp_BillReference": "bill1234",
"pp_Description": "Description of transaction",
"pp_TxnExpiryDateTime": "20250228060116",
"pp_ReturnURL": "https://ethical-emu-helpful.ngrok-free. ... t/response",
"pp_SecureHash": "524B68C6CA8E0974D1278CBE18F29F4C0DFD00B62548A7D1FE4F1379629654A0",
"ppmpf_1": "Ejaz Hussain",
"ppmpf_2": "syedmushahidhussain456@gmail.com",
"ppmpf_3": "2",
"ppmpf_4": "",
"ppmpf_5": "",
"pp_MobileNumber": "03123456789",
"DiscountProfileId": null,
"ppTxnOrderIdentifier": null,
"pp_PaymentInstrumentNumber": "03123456789",
"pp_PaymentInstrumentID": "0"
}
**Response JSON**
Here is the JSON response received:
{
"pp_Amount": "30000",
"pp_AuthCode": "",
"pp_BankID": "",
"pp_BillReference": "bill1234",
"pp_Language": "EN",
"pp_MerchantID": "my_marchant_id",
"pp_ResponseCode": "199",
"pp_ResponseMessage": "Sorry! Your transaction was not successful. Please try again later.",
"pp_RetreivalReferenceNo": "241230819056",
"pp_SecureHash": "8710B300223B52F0EF2659418AECBD143F08799B9C2A5C581F6DB0D508A330A8",
"pp_SettlementExpiry": "",
"pp_SubMerchantId": "",
"pp_TxnCurrency": "PKR",
"pp_TxnDateTime": "20241230060116",
"pp_TxnRefNo": "T17355384763161",
"pp_TxnType": "MWALLET",
"pp_Version": "1.1",
"ppmpf_1": "Ejaz Hussain",
"ppmpf_2": "syedmushahidhussain456@gmail.com",
"ppmpf_3": "2",
"ppmpf_4": "",
"ppmpf_5": ""
}
**What I've Tried**
Verified that all required fields are correctly formatted and filled.
Ensured that the pp_SecureHash is generated using the correct algorithm and matches the expected format.
Confirmed that the sandbox credentials provided by JazzCash are correct.
Checked the pp_ReturnURL to make sure it is accessible (using Ngrok).
Questions
What does the response code 199 signify in the JazzCash sandbox environment?
----------
Could there be an issue with my sandbox credentials or environment setup?
How can I resolve this to successfully test the transaction in the sandbox?
Подробнее здесь: https://stackoverflow.com/questions/793 ... e-code-199
Песочница JazzCash: транзакция не удалась с кодом ответа 199 ⇐ Php
Кемеровские программисты php общаются здесь
-
Anonymous
1735625485
Anonymous
Я тестирую изолированную среду JazzCash для обработки платежей в своем приложении Laravel, но столкнулся с проблемой. Транзакция не удалась, и возвращается код ответа 199 с сообщением:
**"Извините! Ваша транзакция не прошла успешно. Повторите попытку позже".
[b]Запрос JSON[/b]
Ниже приведен запрос JSON, отправляемый на сервер JazzCash:
{
"pp_Version": "1.1",
"pp_TxnType": "MWALLET",
"pp_Language": "EN",
"pp_MerchantID": "my_marchant_id",
"pp_SubMerchantID": null,
"pp_UsageMode": "PR",
"pp_Password": "my_password",
"pp_BankID": "",
"pp_ProductID": "",
"pp_TxnRefNo": "T17355384763161",
"pp_Amount": "30000",
"pp_DiscountedAmount": "",
"pp_TxnCurrency": "PKR",
"pp_TxnDateTime": "20241230060116",
"pp_BillReference": "bill1234",
"pp_Description": "Description of transaction",
"pp_TxnExpiryDateTime": "20250228060116",
"pp_ReturnURL": "https://ethical-emu-helpful.ngrok-free.app/payment/response",
"pp_SecureHash": "524B68C6CA8E0974D1278CBE18F29F4C0DFD00B62548A7D1FE4F1379629654A0",
"ppmpf_1": "Ejaz Hussain",
"ppmpf_2": "syedmushahidhussain456@gmail.com",
"ppmpf_3": "2",
"ppmpf_4": "",
"ppmpf_5": "",
"pp_MobileNumber": "03123456789",
"DiscountProfileId": null,
"ppTxnOrderIdentifier": null,
"pp_PaymentInstrumentNumber": "03123456789",
"pp_PaymentInstrumentID": "0"
}
**Response JSON**
Here is the JSON response received:
{
"pp_Amount": "30000",
"pp_AuthCode": "",
"pp_BankID": "",
"pp_BillReference": "bill1234",
"pp_Language": "EN",
"pp_MerchantID": "my_marchant_id",
"pp_ResponseCode": "199",
"pp_ResponseMessage": "Sorry! Your transaction was not successful. Please try again later.",
"pp_RetreivalReferenceNo": "241230819056",
"pp_SecureHash": "8710B300223B52F0EF2659418AECBD143F08799B9C2A5C581F6DB0D508A330A8",
"pp_SettlementExpiry": "",
"pp_SubMerchantId": "",
"pp_TxnCurrency": "PKR",
"pp_TxnDateTime": "20241230060116",
"pp_TxnRefNo": "T17355384763161",
"pp_TxnType": "MWALLET",
"pp_Version": "1.1",
"ppmpf_1": "Ejaz Hussain",
"ppmpf_2": "syedmushahidhussain456@gmail.com",
"ppmpf_3": "2",
"ppmpf_4": "",
"ppmpf_5": ""
}
**What I've Tried**
Verified that all required fields are correctly formatted and filled.
Ensured that the pp_SecureHash is generated using the correct algorithm and matches the expected format.
Confirmed that the sandbox credentials provided by JazzCash are correct.
Checked the pp_ReturnURL to make sure it is accessible (using Ngrok).
Questions
What does the response code 199 signify in the JazzCash sandbox environment?
----------
Could there be an issue with my sandbox credentials or environment setup?
How can I resolve this to successfully test the transaction in the sandbox?
Подробнее здесь: [url]https://stackoverflow.com/questions/79319289/jazzcash-sandbox-environment-transaction-failed-with-response-code-199[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия