@@ -62,7 +62,7 @@ export const connectorDetails = {
62
62
Response : {
63
63
status : 200 ,
64
64
body : {
65
- status : "processing " ,
65
+ status : "succeeded " ,
66
66
} ,
67
67
} ,
68
68
} ,
@@ -94,7 +94,7 @@ export const connectorDetails = {
94
94
Response : {
95
95
status : 200 ,
96
96
body : {
97
- status : "processing " ,
97
+ status : "succeeded " ,
98
98
} ,
99
99
} ,
100
100
} ,
@@ -109,10 +109,10 @@ export const connectorDetails = {
109
109
Response : {
110
110
status : 200 ,
111
111
body : {
112
- status : "processing " ,
112
+ status : "succeeded " ,
113
113
amount : 6500 ,
114
- amount_capturable : 6500 ,
115
- amount_received : 0 ,
114
+ amount_capturable : 0 ,
115
+ amount_received : 6500 ,
116
116
} ,
117
117
} ,
118
118
} ,
@@ -121,10 +121,10 @@ export const connectorDetails = {
121
121
Response : {
122
122
status : 200 ,
123
123
body : {
124
- status : "processing " ,
124
+ status : "partially_captured " ,
125
125
amount : 6500 ,
126
- amount_capturable : 6500 ,
127
- amount_received : 0 ,
126
+ amount_capturable : 0 ,
127
+ amount_received : 100 ,
128
128
} ,
129
129
} ,
130
130
} ,
@@ -146,14 +146,9 @@ export const connectorDetails = {
146
146
customer_acceptance : null ,
147
147
} ,
148
148
Response : {
149
- status : 400 ,
149
+ status : 200 ,
150
150
body : {
151
- error : {
152
- type : "invalid_request" ,
153
- message :
154
- "This Payment could not be refund because it has a status of processing. The expected state is succeeded, partially_captured" ,
155
- code : "IR_14" ,
156
- } ,
151
+ status : "succeeded" ,
157
152
} ,
158
153
} ,
159
154
} ,
@@ -166,14 +161,9 @@ export const connectorDetails = {
166
161
customer_acceptance : null ,
167
162
} ,
168
163
Response : {
169
- status : 400 ,
164
+ status : 200 ,
170
165
body : {
171
- error : {
172
- type : "invalid_request" ,
173
- message :
174
- "This Payment could not be refund because it has a status of processing. The expected state is succeeded, partially_captured" ,
175
- code : "IR_14" ,
176
- } ,
166
+ status : "succeeded" ,
177
167
} ,
178
168
} ,
179
169
} ,
@@ -186,14 +176,9 @@ export const connectorDetails = {
186
176
customer_acceptance : null ,
187
177
} ,
188
178
Response : {
189
- status : 400 ,
179
+ status : 200 ,
190
180
body : {
191
- error : {
192
- type : "invalid_request" ,
193
- message :
194
- "This Payment could not be refund because it has a status of processing. The expected state is succeeded, partially_captured" ,
195
- code : "IR_14" ,
196
- } ,
181
+ status : "succeeded" ,
197
182
} ,
198
183
} ,
199
184
} ,
@@ -228,7 +213,7 @@ export const connectorDetails = {
228
213
Response : {
229
214
status : 200 ,
230
215
body : {
231
- status : "processing " ,
216
+ status : "succeeded " ,
232
217
} ,
233
218
} ,
234
219
} ,
@@ -338,7 +323,8 @@ export const connectorDetails = {
338
323
Response : {
339
324
status : 200 ,
340
325
body : {
341
- status : "requires_customer_action" ,
326
+ status : "failed" ,
327
+ error_code : "PERMISSION_DENIED" ,
342
328
} ,
343
329
} ,
344
330
} ,
0 commit comments