Skip to content
Log in

Embedded Save Payment Method Form - Liquid Form Reference

On this page

Usage

```liquid

{% form “embedded-save-payment-method” %} {% render “checkout/payment_information/select_and_payment”, only_recurring_payments: true %} {% endform %} ```

The embedded-save-payment-method form is the embedded variant of Add Payment Method, intended for the save-card iframe. It renders the same hosted card form, but posts to the token-authorized embedded save-card endpoint instead of the storefront account path. It takes its contact from the save-card session rather than a logged-in customer, so it works inside an iframe where there is no active session.

Property Value
Form Name embedded-save-payment-method
Category Payments

Form Object

Inside the form block, you can access the form object which provides:

  • form.errors — Any validation errors after submission

Was this article helpful?

Was this article helpful?