I’m using the php sdk to process customer payments which need to be delayed pending approval. Does paymentsAPI->createPayment()->isSuccess() being true ensure the payment is approved and will be payed in full once paymentsApi->completePayment() is called? or does this only mean the API call was successful?
Hi @qwnpqwnp welcome to the forums!
Yes, a successful response will indicate that the payment was successful. Otherwise, there will be errors associated with the response that will include reasons why the payment failed.