Visa is a supported Adyen credit card payment method that is used for transactions during the sales order workflow. Visa is included by default in the payment pick list. It isn't set as a CustomCharge.
Before you can use payment processors and their supported payment methods for transactions during the sales order workflow, configuration is required in Order Management.
The order XML is imported into Order Management with the payment tag when the payment is Authorized or Captured outside of Order Management. The Capture Delay can be set to Manual or Immediate in the Adyen merchant account. Capture Delay is not set in Order Management. Custom attributes can also be added to the payment tag in the order XML.
Example 1: Payment Tag in XML
This example shows the payment tag in XML when the Capture Delay is set to manual, the <card-type> = VISA and the <transaction-type> = AUTH.
<payments>
<payment>
<credit-card>
<card-type>VISA</card-type>
<card-number>XXXX-XXXX-XXXX-1111</card-number>
<card-holder>test</card-holder>
<expiration-month>06</expiration-month>
<expiration-year>2018</expiration-year>
</credit-card>
<amount>69.57</amount>
<processor-id>Adyen</processor-id>
<transaction-id>1714482349077657</transaction-id>
<transaction-type>AUTH</transaction-type>
</payment>
</payments>
Example 2: Custom Attributes Added to the Payment Tag in XML
This example shows the payment tag in XML when custom attributes are added, the Capture Delay is set to manual, the <card-type> = VISA, and the <transaction-type> = AUTH.
<payments>
<payment>
<credit-card>
<card-type>VISA</card-type>
<card-number>XXXX-XXXX-XXXX-1111</card-number>
<card-holder>test</card-holder>
<expiration-month>06</expiration-month>
<expiration-year>2018</expiration-year>
</credit-card>
<amount>69.57</amount>
<processor-id>Adyen</processor-id>
<transaction-id>1714482349077657</transaction-id>
<transaction-type>AUTH</transaction-type>
<custom-attributes>
<custom-attribute attribute-id="Adyen_eventCode">AUTH</custom-attribute>
<custom-attribute attribute-id="Adyen_paymentMethod">visa</custom-attribute>
<custom-attribute attribute-id="Adyen_pspReference">1714482349077657</custom-attribute>
<custom-attribute attribute-id="Adyen_value">6957</custom-attribute>
<custom-attribute attribute-id="merchantAccountCode">Test</custom-attribute>
<custom-attribute attribute-id="merchantReference">1000</custom-attribute>
</payment>
</payments>