Updates to SMS payments.
This commit is contained in:
@@ -178,43 +178,13 @@ const CardPaymentModalComponent = ({
|
||||
|
||||
return (
|
||||
<Card title="Card Payment">
|
||||
<Button
|
||||
onClick={() => {
|
||||
const data = {
|
||||
operation: "approval",
|
||||
response: {
|
||||
messagetype: "paymentresponse",
|
||||
status: 5,
|
||||
custid: 39117514,
|
||||
paymentid: 64430260,
|
||||
response: "A",
|
||||
authcode: "169753",
|
||||
declinereason: "Approved",
|
||||
avsresult: "Y",
|
||||
fee: 0,
|
||||
invoice: "",
|
||||
account: "QBD272",
|
||||
paymenttype: "C",
|
||||
methodhint: "AX ***1002",
|
||||
cardbrand: "American Express",
|
||||
cardnumdisplay: "379859..1002",
|
||||
amount: 0.01,
|
||||
total: 0.01,
|
||||
},
|
||||
};
|
||||
form.setFieldValue("paymentResponse", data);
|
||||
form.submit();
|
||||
}}
|
||||
>
|
||||
Test
|
||||
</Button>
|
||||
<Spin spinning={loading}>
|
||||
<Form
|
||||
onFinish={handleFinish}
|
||||
form={form}
|
||||
initialValues={{ jobid: context?.jobid }}
|
||||
>
|
||||
<LayoutFormRow grow>
|
||||
<LayoutFormRow grow noDivider>
|
||||
<Form.Item
|
||||
name="jobid"
|
||||
label={t("bills.fields.ro_number")}
|
||||
|
||||
Reference in New Issue
Block a user