I got a problem with destination charge via killbill-stripe. Please take a look at it.
Context:
Killbill 0.18
Killbill-stripe: 4.1.1
Steps to reproduce:
I purchased a payment with a Stripe's failed card (4000000000000341) via API POST {{kb_url}}/accounts/c47bbd32-6720-466e-9ee8-6f5b6292fa38/payments
I was trying to purchase the payment again with a Stripe success card (4242424242424242). Step #2 request is as below:
POST {{kb_url}}/accounts/c47bbd32-6720-466e-9ee8-6f5b6292fa38/payments?paymentMethodId=cedb1336-9cf1-4eb9-ae92-b87126731c21&controlPluginName=killbill-stripe&pluginProperty=destination%3D10cc3c2f-a522-49f2-b16e-1b9bd2f75d66&pluginProperty=fees_amount%3D1200&pluginProperty=description%3Dasdasdasd&pluginProperty=reverse_transfer%3Dtrue&stringifyOpt=false
// request body is:
{
"amount": 112,
"currency": "CHF",
"transactionType": "PURCHASE",
"transactionExternalKey": "d22aa2cd-1105-4689-aaaf-a8bfda01fdb9", // ID in my system
"paymentExternalKey": "d22aa2cd-1105-4689-aaaf-a8bfda01fdb9" // ID in my system
}
Expectation:
I should purchase the payment successfully when retried with success card
Reality:
The Killbill server always return 402 { "className": "org.killbill.billing.payment.api.PaymentApiException", "code": null, "message": "Payment decline by gateway. Error message: Your card was declined.", "causeClassName": null, "causeMessage": null, "stackTrace": [] }
I tried to purchase another payment with the success card at the first time, and it worked perfectly.
Here are account's payment methods:
GET {{kb}}/accounts/c47bbd32-6720-466e-9ee8-6f5b6292fa38/paymentMethods?withPluginInfo=true
Hello everybody,
I got a problem with destination charge via killbill-stripe. Please take a look at it.
Context:
Steps to reproduce:
POST {{kb_url}}/accounts/c47bbd32-6720-466e-9ee8-6f5b6292fa38/payments?paymentMethodId=cedb1336-9cf1-4eb9-ae92-b87126731c21&controlPluginName=killbill-stripe&pluginProperty=destination%3D10cc3c2f-a522-49f2-b16e-1b9bd2f75d66&pluginProperty=fees_amount%3D1200&pluginProperty=description%3Dasdasdasd&pluginProperty=reverse_transfer%3Dtrue&stringifyOpt=false
Expectation:
Reality:
{ "className": "org.killbill.billing.payment.api.PaymentApiException", "code": null, "message": "Payment decline by gateway. Error message: Your card was declined.", "causeClassName": null, "causeMessage": null, "stackTrace": [] }
I tried to purchase another payment with the success card at the first time, and it worked perfectly.Here are account's payment methods: GET {{kb}}/accounts/c47bbd32-6720-466e-9ee8-6f5b6292fa38/paymentMethods?withPluginInfo=true
I know that it's an old version but hope that you could help. Any response will be appreciated. Thank you for your time.