Reply
Highlighted
Member
Posts: 2
Registered: ‎05-20-2020

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}\"
                }
            ]
        }
    }
}
Highlighted
New Member
Posts: 1
Registered: ‎05-21-2020

Re: Transaction Response on Accept Hosted Payment

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