Here are the steps to set the Thank you page URL in Membership -:
Step 1: Go to Membership >> Dashboard
Step 2: Navigate to the Plan, click on the plan that you have created, and click on Edit.
Step 3: Set your Thank You Page URL in the Box as illustrated under Settings and Plan Settings: