- Ions undergoing first-order Fermi acceleration at a shock are scattered in the upstream and downstream regions by magnetic inhomogeneities. For high energy ions this scattering is efficient at spatial scales substantially larger than the gyroradius of the ions. The transition from one diffusive region to the other occurs via crossing the shock, and the ion dynamics during this crossing is mainly affected by the global magnetic field change between the upstream and downstream region. We study the effects of the fine structure of the shock front, such as the foot-ramp-overshoot profile and the phase-standing upstream and downstream magnetic oscillations. We also consider time dependent features, including reformation and large amplitude coherent waves. We show that the influence of the spatial and temporal structure of the shock front on the dependence of the transition and reflection on the pitch angle of the ions is already weak at ion speeds five times the speed of the upstream flow. © 2016. The American Astronomical Society. All rights reserved.