Summary: We are using Kentico 11 to handle ecommerce transactions and integrating them into our mobile app. So, we are posting the mobile app transactions into Kentico using the REST API. We have two issues with the end of the transaction process and we don't know if they are related or not, or where we might be going wrong.A. Using the Kentico REST APIs, how can we automatically generate an order invoice so that it populates the order confirmation email and then sends the email?Initially, we were submitting the transaction to the order module as a complete @payment received@/complete transaction payload. This didn't generate an invoice, and when we manually generated it, it wasn't populated with the order items. So we then created the order as New using the API, and then update it to Payment Received once the payment is complete. Manually generating the invoice then populated it with the right sku/items. However the order confirmation email is still blank. We assume that the order confirmation email populates itself from the information that's in the invoice, and if the invoice doesn't exist, the order confirmation email sends a blank result.B. The billing @Payment Result@ that we get from the payment processor that we send via API POST is getting stripped or is not accepted by the Kentico order module. We don't know why, and we don't know what to do to get it recorded. We also don't know if items A and B are related.
↧