As mentioned earlier, using fully elements hosted checkout is the easiest way to build your secure and compliant payment flow. To get started, simply create a checkout session right before you need to take your customer to the checkout page and then redirect your customer to the auto-generated url tied to the checkout session created.