- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Printer Friendly Page
I'm working on a patch for the Drupal Commerce Square Connect contrib module. The patch doesn't currently handle payments for additional order items properly. Here's the use case:
- An order is created, and payment is processed successfully.
- The order is edited, and a new item is added to the order.
- Payment is submitted for the item that's been added to the order.
The issue is that the list of processed order items in the Commerce module includes all items associated with the order, not just the added item. As a result, the order cost (for all items) and the amount paid (for only the new item) are inconsistent, and Square rejects the payment.
Is there a way to submit a partial or update payment to Square?
Hello there @SAH62
Welcome back to the Seller Community!
While I am no API expert I can tell you with confidence that payments in Square cannot be modified after they have been settled with the exemption of paper-settled tips on Square for Restaurants.
Now in regard to getting an "official" response, I recommend visiting our Developer Forums.
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.