cancel
Showing results for 
Search instead for 
Did you mean: 

Transaction Response on Accept Hosted Payment

Hello, 

 

I am developing a web-application which involves one-time/recurring payments. For the one-time payments, I am using accept-hosted payments form. 

 

I am able to make the payment successfully. However, I would the system to be notified of the payment. 

 

Any idea how to configure that?

 

I am using the following JSON object

 

{
    \"getHostedPaymentPageRequest\": {
        \"merchantAuthentication\": {
            \"name\": \"#api_id#\",
            \"transactionKey\": \"#transacton_key#\"
        },
        \"transactionRequest\": {
            \"transactionType\": \"authCaptureTransaction\",
            \"amount\": \"#amount#\"
        },
        \"hostedPaymentSettings\": {
            \"setting\": [
                {
                    \"settingName\": \"hostedPaymentReturnOptions\",
                    \"settingValue\": \"{\\\"showReceipt\\\": true, \\\"url\\\": \\\"#recept_ur#\\\", \\\"urlText\\\": \\\"Continue\\\", \\\"cancelUrl\\\": \\\"#cancelurl#\\\", \\\"cancelUrlText\\\": \\\"Cancel\\\"}\"
                },
                {
                    \"settingName\": \"hostedPaymentPaymentOptions\",
                    \"settingValue\": \"{\\\"cardCodeRequired\\\": false, \\\"showCreditCard\\\": true, \\\"showBankAccount\\\": true}\"
                }
            ]
        }
    }
}
kirancshet1
Member
1 REPLY 1

Yeah have been facing the same issue since a good time now. Will be great if someone posts solution here UPSers

Joel25
Member