Changes in get_thank_you() method

Changed logic in line 240 instead of object WC_Custom_Payment_Gateway_1 changed to WC_Ameria.