Remove additional info icon for ryan flow

This commit is contained in:
Emili Castells Guasch 2024-05-01 17:31:25 +02:00
parent 8a9dd52bd0
commit 912e0af35a

View file

@ -463,9 +463,9 @@ class AxoManager {
this.el.gatewayRadioButton.trigger('change');
}
async renderWatermark() {
async renderWatermark(includeAdditionalInfo = true) {
(await this.fastlane.FastlaneWatermarkComponent({
includeAdditionalInfo: true
includeAdditionalInfo
})).render(this.el.watermarkContainer.selector);
}
@ -562,6 +562,8 @@ class AxoManager {
this.hideGatewaySelection = true;
this.$('.wc_payment_methods label').hide();
await this.renderWatermark(false);
this.rerender();
} else {
@ -577,6 +579,8 @@ class AxoManager {
this.setStatus('validEmail', true);
this.setStatus('hasProfile', false);
await this.renderWatermark(true);
this.cardComponent = (await this.fastlane.FastlaneCardComponent(
this.cardComponentData()
)).render(this.el.paymentContainer.selector + '-form');