DonationInterface
- add them to dlocal (astropay) payment_submethod config
- add a new form definition to DonationInterfaceFormSettings.php
- download logos where needed
SmashPig
- add them to PaymentProviders/AstroPay/ReferenceData.php
CRM
- add them to update_payment_instruments.php
- add another function just like wmf_civicrm_update_7595 to wmf_civicrm.install file
- add them to the big ol' switch block that normalizes payment instrument (wmf_civicrm.module lines 612-824)
Methods and bank codes
- Credit card
- Visa - VI
- MasterCard - MC
- Diners Club - DC
- American Express - AE
- RuPay - RU - https://pay.dlocal.com/views/2.0/images/payments/UI.png
- Bank Transfer
- UPI - UI - https://pay.dlocal.com/views/2.0/images/payments/RU.png
- Netbanking - NB - https://pay.dlocal.com/views/2.0/images/payments/NB.png
We're waiting for confirmation on bank transfer method PayTM Wallet (bank code PW, logo https://pay.dlocal.com/views/2.0/images/payments/PW.png).
The methods above with URLs for logos need those logos downloaded and resized to be copied into the gateway_forms/includes directory. Our standard logo height is 53 pixels tall. If the original logo is high enough resolution, it's nice to have a 2x and 3x version as well for high DPI screens (see Mastercard section of config for 2x and 3x syntax).
We can add all of them (including PayTM Wallet), just leaving PayTM Wallet commented out in DonationInterface's astropay_gateway/config/payment_submethod.yaml till we get confirmation that it's working.