# Edit the Payment Method screen

To edit the Payment Method screen:

1. Double-click the **paymentMethodScreen** screen.
2. Delete all OOTB components from the subflow.
3. Type `drb2b_payments` in the **Search components** field and click **drb2b\_payments**.
4. Enter the following values in the fields. Be sure to click through all designer attributes to ensure that the default values are registered by Salesforce.

   * **API Name**: Type `drPayments` or any other name with no restrictions.
   * **Disable saved payments:** Type `{!$GlobalConstant.False}`.
   * **Dropin Config**: Provide data for this designer attribute in JSON format. For example:\
     `{"options.button.type": "custom", "options.button.buttonText": "test", "test": "test3"}` \
     **Note:** You are recommended to leave this attribute empty during initial configuration.  See [Designer Attributes](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.2.1/extend-the-salesforce-lightning-app/customizing-the-lightning-web-components/designer-attributes) for more information on using this feature.
   * **Enable override payments:** Type `{!$GlobalConstant.False}`.
   * **Fire Zero Dollar** **Event**: Type `{!$GlobalConstant.False}`.
   * **Is Synchronous checout**: Type `{!$GlobalConstant.False}`.
   * **Record Id**: Type `{!cartId}`.
   * **Skip current page:** Type `{!$GlobalConstant.False}`.

   See [Designer attributes](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.2.1/extend-the-salesforce-lightning-app/customizing-the-lightning-web-components/designer-attributes) for additional information.\
   \
   ![](https://2621088907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ5A1tasgCx8G4Luajf9%2Fuploads%2FjDZ5OLFSTjjHmRwPienP%2Fdrb2b_payment.png?alt=media\&token=06e77d2f-627a-4739-8f19-5db791cee9b8)
5. Click **Done**.
