added namespacing to get_checkout_methods function