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:
parent
9674234b59
commit
f346c4bb1f
@ -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
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user