order detail hooks and payment scaffold