Payments not showing on a sale created through the API


Latest update: - Sung Min Yoon

Setup

  • Vend for Mac or PC

Cause

The register_sale_payments field is POSTed incorrectly.

Solution

  1. Check the payload, the register_sale_payments attribute
  2. Make sure that this is an array and not just an object with one payment

The following is missing the square brackets.

Screen_Shot_2019-03-07_at_11.33.54_AM.png

Make sure that they are enclosed in square brackets, making it an array.

Screen_Shot_2019-03-07_at_11.34.14_AM.png

Additional Information

Vend API Sales 101 Tutorial