Skip to content

Commit

Permalink
Release 6.0.28
Browse files Browse the repository at this point in the history
- Add optional property partner_merchant_advice_code
  • Loading branch information
armando-rodriguez-cko committed Nov 17, 2023
1 parent 9e3fb0c commit 369c400
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=com.checkout
version=6.0.27
version=6.0.28

maven2_url=https://oss.sonatype.org/service/local/staging/deploy/maven2/
snapshot_url=https://oss.sonatype.org/content/repositories/snapshots/
Expand Down
30 changes: 28 additions & 2 deletions src/test/java/com/checkout/payments/RequestApmPaymentsIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,30 @@
import com.checkout.common.Phone;
import com.checkout.payments.request.PaymentCustomerRequest;
import com.checkout.payments.request.PaymentRequest;
import com.checkout.payments.request.source.apm.*;
import com.checkout.payments.request.source.apm.RequestAfterPaySource;
import com.checkout.payments.request.source.apm.RequestAlipayPlusSource;
import com.checkout.payments.request.source.apm.RequestAlmaSource;
import com.checkout.payments.request.source.apm.RequestBancontactSource;
import com.checkout.payments.request.source.apm.RequestBenefitSource;
import com.checkout.payments.request.source.apm.RequestCvConnectSource;
import com.checkout.payments.request.source.apm.RequestEpsSource;
import com.checkout.payments.request.source.apm.RequestFawrySource;
import com.checkout.payments.request.source.apm.RequestGiropaySource;
import com.checkout.payments.request.source.apm.RequestIdealSource;
import com.checkout.payments.request.source.apm.RequestIllicadoSource;
import com.checkout.payments.request.source.apm.RequestKlarnaSource;
import com.checkout.payments.request.source.apm.RequestKnetSource;
import com.checkout.payments.request.source.apm.RequestMbwaySource;
import com.checkout.payments.request.source.apm.RequestMultiBancoSource;
import com.checkout.payments.request.source.apm.RequestP24Source;
import com.checkout.payments.request.source.apm.RequestPayPalSource;
import com.checkout.payments.request.source.apm.RequestPostFinanceSource;
import com.checkout.payments.request.source.apm.RequestQPaySource;
import com.checkout.payments.request.source.apm.RequestSepaSource;
import com.checkout.payments.request.source.apm.RequestSofortSource;
import com.checkout.payments.request.source.apm.RequestStcPaySource;
import com.checkout.payments.request.source.apm.RequestTamaraSource;
import com.checkout.payments.request.source.apm.RequestTrustlySource;
import com.checkout.payments.response.GetPaymentResponse;
import com.checkout.payments.response.PaymentResponse;
import com.checkout.payments.response.source.AlternativePaymentSourceResponse;
Expand Down Expand Up @@ -474,7 +497,10 @@ void shouldMakePayPalPayment() {
.build()))
.build();

checkErrorItem(() -> paymentsClient.requestPayment(paymentRequest), PAYEE_NOT_ONBOARDED);
final PaymentResponse response = blocking(() -> checkoutApi.paymentsClient().requestPayment(paymentRequest));

assertNotNull(response);
assertNotNull(response.getId());
}

@Test
Expand Down

0 comments on commit 369c400

Please sign in to comment.