Skip to content

503 (Service Unavailable) on javascript example/guest code #4

@saurabhgokhale

Description

@saurabhgokhale

Credit/debit card "make payment" example source code given under example/guest gives 503 (Service Unavailable) error on staging environment.

503 means exception from callers side but it does not give any other information as to what data is being sent wrong or missing.

Following is the relevant information:
URL: https://stgadmin.citruspay.com/service/moto/authorize/struct/extended
Method: POST
Data:
{
"merchantAccessKey": "LY80PJEZK5TDFWKATHTL",
"merchantTxnId": "mtx10228211",
"amount": {
"currency": "INR",
"value": "41"
},
"returnUrl": "http://localhost:8420/pg/response",
"requestSignature": "931c7d5b4216449d96aa1dbe758a6c5da4f44261",
"userDetails": {
"firstName": "",
"lastName": "",
"email": "foo@bar.com",
"mobileNo": "",
"address": {
"street1": "",
"street2": "",
"city": "",
"zip": "",
"state": "Karnataka",
"country": "INDIA"
}
},
"customParameters": {
"paramOne": "one value",
"secundo": "online"
},
"paymentToken": {
"type": "paymentOptionToken",
"paymentMode": {
"type": "credit",
"scheme": "VISA",
"number": "4111111111111111",
"holder": "test",
"expiry": "04/2019",
"cvv": "123"
}
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions