This is the recommended integration pattern for the save payment flow with the paypal-payments component.