diff --git a/library/src/configuration.cpp b/library/src/configuration.cpp index c481ad2..ad51d7c 100644 --- a/library/src/configuration.cpp +++ b/library/src/configuration.cpp @@ -606,6 +606,10 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json) if (k->value.IsInt()) { this->currentPaymentOptions.last().pop_minus_steps = k->value.GetInt(); } + } else if (strcmp(inner_obj_name, "pop_allow_overpay") == 0) { + if (k->value.IsBool()) { + this->currentPaymentOptions.last().pop_allow_overpay = k->value.GetBool(); + } } else if (strcmp(inner_obj_name, "pop_payment_method_id") == 0) { this->currentPaymentOptions.last().pop_payment_method_id = k->value.GetInt(); } else if (strcmp(inner_obj_name, "pop_day_end_time") == 0) {