Open KBbitsP opened 1 year ago
The same issue exists for this endpoint too : https://killbill.github.io/slate/payment.html#record-a-chargeback-reversal-using-paymentexternalkey
Code Snippet:
$apiInstance = $client->getPaymentApi();
$xKillbillCreatedBy = "user";
$xKillbillReason = "reason";
$xKillbillComment = "comment";
$paymentId = '20ff8016-5ca3-486b-9dab-a7253074a933';
$transactionExternalKey = '7bf3e12a-cf24-4cdc-9ec2-9c0b319cb082';
$paymentTransactionBody = new PaymentTransaction();
$paymentTransactionBody->setPaymentExternalKey('pau8thOctExtKey7');
$paymentTransactionBody->setTransactionExternalKey($transactionExternalKey);
$apiInstance->chargebackReversalPaymentByExternalKey($paymentTransactionBody,$xKillbillCreatedBy,$xKillbillReason,$xKillbillComment) ;
Issue: The endpoint https://killbill.github.io/slate/payment.html#capture-an-existing-authorization-using-paymentid errors out in PHP client, the chargeback reversal is correctly recorded though.
Code Snippet :
Error in the client :