#meenal-tax
1 messages ยท Page 1 of 1 (latest)
SessionCreateParams params = SessionCreateParams.builder()
// We will use the credit card payment method
.addPaymentMethodType(SessionCreateParams.PaymentMethodType.CARD)
.setMode(SessionCreateParams.Mode.PAYMENT).setSuccessUrl(payment.getSuccessUrl())
.setCancelUrl(payment.getCancelUrl())
.addLineItem(SessionCreateParams.LineItem.builder().setQuantity(payment.getQuantity())
.setPriceData(SessionCreateParams.LineItem.PriceData.builder()
.setCurrency(payment.getCurrency()).setUnitAmount(payment.getAmount())
.setProductData(SessionCreateParams.LineItem.PriceData.ProductData.builder()
.setName(payment.getName()).build())
.build())
.addTaxRate(taxKey).build())
.build();
Can you share the request ID (req_xxx) or Session ID (cs_xxx) as well?
let me generate a new one and share with you
hi, thanks for your time. i appreciate your help, but looks like issue is from our end.
no problem! great to hear that you find out the issue ๐