Feature/390 purchase shortcode attachment fix

Purchase shortcode attachment fix.