2023-09-18 — Replace `target_div`, add support for HTTP headers in external payment gateways
External payment gateways now use a div with an identifier matching the payment gateway's public_id, and the location field to place the div in the checkout frontend.
External payment gateways also now support setting HTTP headers on requests to the base_url.
External payment gateways previously used target_divs to place iframes in a checkout frontend. Now, users insert iframes in a div with an identifier matching the payment gateway's public_id.
The location field indicates where to place the external payment gateway iframe in a checkout frontend. Set the location when creating or updating an external payment gateway.
External payment gateways also now support setting HTTP headers on requests to the base_url. When creating or updating an external payment gateway, users can configure custom headers in the http_headers field.
For more information, read the Integrate an External Payment Gateway guide.