I just need to know how to fix this function.
if you getting any error for carrier billing either call *611 to verify that you have carrier billing option available on your account and no block active or google play or apple store to find fix as long as you are not pre pay customer.