paypal configs

Co-authored-by: Pete Matsyburka <pete@docuseal.com>
This commit is contained in:
Alex Turchyn
2026-07-28 19:27:25 +03:00
committed by Pete Matsyburka
parent 972f38242e
commit b8c29324b8
11 changed files with 334 additions and 72 deletions
+4 -1
View File
@@ -181,7 +181,10 @@ safeRegisterElement('template-builder', class extends HTMLElement {
authenticityToken: document.querySelector('meta[name="csrf-token"]')?.content,
withCustomFields: true,
withPayment: this.dataset.withPayment === 'true',
isPaymentConnected: this.dataset.isPaymentConnected === 'true',
isStripeConnected: this.dataset.isPaymentConnected === 'true' || this.dataset.isStripeConnected === 'true',
withStripe: this.dataset.withStripe !== 'false',
withPaypal: this.dataset.withPaypal === 'true',
isPaypalConnected: this.dataset.isPaypalConnected === 'true',
withFormula: this.dataset.withFormula === 'true',
withSendButton: this.dataset.withSendButton !== 'false',
withSignYourselfButton: this.dataset.withSignYourselfButton !== 'false',