We have implemented the payment iFrame on our website through the token generated via 'Get an Accept Payment Page,' but the adjustments we made from the administrator profile in Account > Settings > Payment Form to edit the appearance are not being reflected.
"getHostedPaymentPageRequest": {
"merchantAuthentication": {
"name": "XXXXXXXXXX",
"transactionKey": "XXXXXXXXXXX"
},
"transactionRequest": {
"transactionType": "authCaptureTransaction",
"amount": "20.00"
},
"hostedPaymentSettings": {
"setting": [{
"settingName": "hostedPaymentReturnOptions",
"settingValue": "{\"showReceipt\": true, \"url\": \"https://mysite.com/receipt\", \"urlText\": \"Continue\", \"cancelUrl\": \"https://mysite.com/cancel\", \"cancelUrlText\": \"Cancel\"}"
}, {
"settingName": "hostedPaymentButtonOptions",
"settingValue": "{\"text\": \"Pay\"}"
}, {
"settingName": "hostedPaymentStyleOptions",
"settingValue": "{\"bgColor\": \"blue\"}"
}, {
"settingName": "hostedPaymentPaymentOptions",
"settingValue": "{\"cardCodeRequired\": false, \"showCreditCard\": true, \"showBankAccount\": true}"
}, {
"settingName": "hostedPaymentSecurityOptions",
"settingValue": "{\"captcha\": false}"
}, {
"settingName": "hostedPaymentShippingAddressOptions",
"settingValue": "{\"show\": false, \"required\": false}"
}, {
"settingName": "hostedPaymentBillingAddressOptions",
"settingValue": "{\"show\": true, \"required\": false}"
}, {
"settingName": "hostedPaymentCustomerOptions",
"settingValue": "{\"showEmail\": false, \"requiredEmail\": false, \"addPaymentProfile\": true}"
}, {
"settingName": "hostedPaymentOrderOptions",
"settingValue": "{\"show\": true, \"merchantName\": \"G and S Questions Inc.\"}"
}, {
"settingName": "hostedPaymentIFrameCommunicatorUrl",
"settingValue": "{\"url\": \"https://mysite.com/special\"}"
}]
}
}
}
The goal is to be able to translate "Order Summary" and, in the Billing Address, leave only ZIP as required and mandatory. The other fields should disappear from the iFrame.
Any feedback will be highly appreciated.
11-10-2023 03:47 PM
In your Account, Settings,... you can set Zip Code to Required, and leave the others as not-required.
I'm not sure you can prevent them from showing at all.
I'm thinking about how to change the form title "Order Summary"...
11-15-2023 07:38 AM