fix php custom class to billing and shipping fields