When you pay, you'll get your receipt and your activation code by email.
Payment happens on the secure checkout page of Lemon Squeezy, which sells OptiCore as a reseller (merchant of record): it accepts cards, PayPal, Apple Pay and Google Pay, calculates your country's taxes and sends you the receipt. Your card details never go through OptiCore. If you have a discount code, enter it there.