checkout / checkout-sdk-java

Checkout.com SDK for Java
MIT License
25 stars 29 forks source link

Support partner_merchant_advice_code in Payment Response #375

Closed i-srinivas closed 1 year ago

i-srinivas commented 1 year ago

Support adding processing.partner_merchant_advice_code, if available in response

Environment

Description

An issuer can provide additional MasterCard advice code that could help merchant in further processing the payment transaction.

For example, partner_merchant_advice_code=24 could help merchant to ensure declined/rejected transaction can be retried after an hour.

https://www.checkout.com/docs/developer-resources/testing/codes/recommendation-codes

Proposed Solution

Add a field as below and update related tests https://github.com/checkout/checkout-sdk-java/blob/master/src/main/java/com/checkout/payments/PaymentProcessing.java

@SerializedName("partner_merchant_advice_code") private String partnerMerchantAdviceCode;

armando-rodriguez-cko commented 1 year ago

Thank you @i-srinivas! We will review your PR soon.

i-srinivas commented 1 year ago

Thanks @armando-rodriguez-cko, is there any plan when this change will be released ?

armando-rodriguez-cko commented 1 year ago

You're welcome, this week, before Friday we hope