A critical part of the direct Stripe setup for Orderlytics Amazon Ordering is the inclusion of the customer shipping data. You MUST pass the shipping information to Stripe or Orderlytics can not place the Amazon order.
The illustration below provides the list of required customer shipping fields that must be passed to Stripe as part of the purchase metadata.
The inclusion of customer shipping data must be added to your sales order form page along with the required code to pass the metadata to Stripe.
Code Example:
// user details variables $shipping_fname=$_POST['shipping_fname']; $shipping_lname=$_POST['shipping_lname']; $shipping_email=$_POST['shipping_email']; $shipping_phone=$_POST['shipping_phone']; $shipping_address=$_POST['shipping_address']; $shipping_city=$_POST['shipping_city']; $shipping_state=$_POST['shipping_state']; $shipping_country=$_POST['shipping_country']; $shipping_zip=$_POST['shipping_zip']; // product and charge $product_ids=$_POST['product_ids']; $charge_amount=$_POST['charge_amount'];
FILE DOWNLOAD