Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

StackOverflow

StackOverflow Logo StackOverflow Logo

StackOverflow Navigation

Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Home
  • Add group
  • Feed
  • User Profile
  • Communities
  • Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
Home/ Questions/Q 399
Next

StackOverflow Latest Questions

Saralyn
  • 0
  • 0
SaralynBegginer
Asked: January 6, 20252025-01-06T01:22:48+00:00 2025-01-06T01:22:48+00:00In: PHP

php – JazzCash Sandbox Environment: Transaction Failed with Response Code 199

  • 0
  • 0
php – JazzCash Sandbox Environment: Transaction Failed with Response Code 199

I am testing the JazzCash sandbox environment for processing payments in my Laravel application, but I am encountering an issue. The transaction fails, returning the response code 199 with the message:

Sorry! Your transaction was not successful. Please try again later.

Below is the JSON request being sent to the JazzCash server:

 {
      "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": "[email protected]",
      "ppmpf_3": "2",
      "ppmpf_4": "",
      "ppmpf_5": "",
      "pp_MobileNumber": "03123456789",
      "DiscountProfileId": null,
      "ppTxnOrderIdentifier": null,
      "pp_PaymentInstrumentNumber": "03123456789",
      "pp_PaymentInstrumentID": "0"
    }

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": "[email protected]",
  "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?

0
  • 0 0 Answers
  • 95 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question
  • Popular
  • Answers
  • W3spoint99

    What is Physics? Definition, History, Importance, Scope (Class 11)

    • 1 Answer
  • W3spoint99

    The Living World – Introduction, Classification, Characteristics, FAQs (Class 11 ...

    • 1 Answer
  • W3spoint99

    Explain - Biological Classification (Class 11 - Biology)

    • 1 Answer
  • Saralyn
    Saralyn added an answer When Humans look at their childhood pictures, the first thing… January 17, 2025 at 3:25 pm
  • Saralyn
    Saralyn added an answer Previously, length was measured using units such as the length… January 17, 2025 at 3:25 pm
  • Saralyn
    Saralyn added an answer Measurement forms the fundamental principle to various other branches of… January 17, 2025 at 3:25 pm

Related Questions

  • Reading fancy apostrophe PHP [duplicate]

    • 0 Answers
  • Unable to send mail via PHPMailer [SMTP->Error: Password not accepted ...

    • 0 Answers
  • Concerns when migrating from PHP 5.6 to 8.4 [closed]

    • 0 Answers
  • Laravel Auth::attempt() error: "Unknown column 'password'" when using a custom ...

    • 0 Answers
  • Core PHP cURL - header origin pass null value

    • 0 Answers

Trending Tags

biology class 11 forces how physics relates to other sciences interdisciplinary science learn mathematics math sets tutorial null sets physics physics and astronomy physics and biology physics and chemistry physics applications science science connections science education sets in mathematics set theory basics types of sets types of sets explained

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help

Footer

  • About US
  • Privacy Policy
  • Questions
  • Recent Questions
  • Web Stories

© 2025 WikiQuora.Com. All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.