'paymentRequest' is required for form field type 'paymentRequestButton' |
The field was created with a type of paymentRequestButton , but the paymentRequest was not set in the forms fieldOptions parameter. |
Set the paymentRequest attribute in your form.createField like so: var prButton = form.createField('paymentRequestButton', { paymentRequest: paymentRequest, }); Refer to the PaymentRequest example in our docs for more information. |
Unable to start Apple Pay session. |
The merchant does not have the capabilities (i.e. does not support either the country, currency, or card network) to process this payment or Tilled was unable to initialize the ApplePaySession |
Verify that the merchant is capable of processing the payment intent and that you have completed the steps to verify your domain. |
No DOM Element found with id {selector}. |
The selector provided in your inject method call does not exist in the DOM. |
Double-check that you are passing the correct element id when attempting to inject your PaymentRequest button. Refer to our PaymentRequest example in our docs for more information. |
selector + ' DOM Element must have a parent container' |
The user attempted to inject an element that does not have a parent element. |
Nest your PaymentRequest button element within a container element. |
Field of type '${fieldType}' is required |
The build method failed because the necessary fields for the payment method’s type were not created |
Verify that you created all the necessary fields with the createField method. Refer to the Form and Form Field section of our docs for more information. |
Unhandled payment method type |
The user attempted to confirm a payment intent with a payment_method.type that is not supported by Tilled.js |
Verify that the payment intent’s payment_method.type matches one of the following: card , ach_debit , or eft_debit . |
The payment intent client secret is required. e.g.'tilled.confirmPayment(<here>, params)' |
The user did not specify a client secret in their call to the confirmPayment method |
Pass a payment intent’s client secret into the call to the confirmPayment method. |
payment_method is a required property. e.g. 'tilled.confirmPayment(secret, { payment_method: <here> })' |
The user did not specify the payment_method parameter in their call to the confirmPayment method. |
Pass a payment_method parameter into the call to the confirmPayment method. |
A form is required. |
The user attempted to confirm a payment intent with the confirmPayment method without building a form object. |
Verify that the form has been successfully built with the build method. |
A tilled.form() is required prior to creating a payment method |
The user attempted to create a payment method with the createPaymentMethod method without building a form object. |
Verify that the form has been successfully initialized with the form method. |
Field of type ${fieldType} is not valid |
The user entered a value that did not pass our form validation |
Disable the submit button if the form is invalid. Refer to our Simple Payment Example for more information. |
Expected document.body not to be null. Tilled.js requires a <body> element. |
The user attempted to initialize a Tilled instance in an HTML page without a <body> element. |
Verify that the page has a body element and add one as necessary. |
Unauthorized: jwt malformed |
The publishable key or account id is missing or invalid |
Verify that you have specified valid a valid account id and publishable key when initializing a Tilled object instance#initializing-tilledjs. |