paypal configs

Co-authored-by: Pete Matsyburka <pete@docuseal.com>
This commit is contained in:
Alex TurchynandPete Matsyburka authored and Pete Matsyburka committed 2026-07-30 07:56:07 +03:00
1 parent 972f38242e
commit b8c29324b8
11 files changed
+334 -72

No files matched your search

+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',