@Service(value="blSamplePaymentGatewayWebResponseService")
public class SamplePaymentGatewayWebResponseServiceImpl
extends org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayWebResponseService
PaymentGatewayWebResponseService.
This will translate the Post information back from
SampleMockProcessorController
into a PaymentResponseDTO for processing in the Broadleaf System.
Replace with a real Payment Gateway Integration like Braintree or PayPal PayFlow.
In order to use load this demo service, you will need to component scan
the package "com.broadleafcommerce".
This should NOT be used in production, and is meant solely for demonstration
purposes only.| Modifier and Type | Field and Description |
|---|---|
protected SamplePaymentGatewayConfiguration |
configuration |
protected org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponsePrintService |
webResponsePrintService |
| Constructor and Description |
|---|
SamplePaymentGatewayWebResponseServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
parse(Map<String,String[]> paramMap,
String param) |
org.broadleafcommerce.common.payment.dto.PaymentResponseDTO |
translateWebResponse(javax.servlet.http.HttpServletRequest request) |
protected org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponsePrintService webResponsePrintService
protected SamplePaymentGatewayConfiguration configuration
public SamplePaymentGatewayWebResponseServiceImpl()
public org.broadleafcommerce.common.payment.dto.PaymentResponseDTO translateWebResponse(javax.servlet.http.HttpServletRequest request)
throws org.broadleafcommerce.common.vendor.service.exception.PaymentException
translateWebResponse in interface org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponseServicetranslateWebResponse in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayWebResponseServiceorg.broadleafcommerce.common.vendor.service.exception.PaymentExceptionCopyright © 2024. All rights reserved.