1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

(bug) unable to update card for payment schedule

This commit is contained in:
Du Peng 2023-09-18 11:59:40 +02:00
parent 9674234b59
commit f346c4bb1f
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
- Improvement : add a notification to remind users to upload their supporting documents
- Cancel payment schedule subscription after update the payment mean
- admin can see reservations of a member
- Fix a bug: unable to update card for payment schedule
## v6.0.14 2023 September 6

View File

@ -140,7 +140,7 @@ export const PayzenForm: React.FC<PayzenFormProps> = ({ onSubmit, onSuccess, onE
try {
const { result } = await PayZenKR.current.validateForm();
if (result === null) {
if (!order) {
if (!order && !updateCard) {
await PayzenAPI.checkCart(cart, customer);
}
await PayZenKR.current.onSubmit(onPaid);