@Service(value="blSamplePaymentGatewayHostedService")
public class SamplePaymentGatewayHostedServiceImpl
extends org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayHostedService
PaymentGatewayHostedService.
This is just a sample that mimics what URL a real hosted payment gateway implementation
might generate. This mimics implementations like PayPal Express Checkout
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 SamplePaymentGatewayHostedConfiguration |
configuration |
| Constructor and Description |
|---|
SamplePaymentGatewayHostedServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.common.payment.dto.PaymentResponseDTO |
requestHostedEndpoint(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO) |
protected SamplePaymentGatewayHostedConfiguration configuration
public SamplePaymentGatewayHostedServiceImpl()
public org.broadleafcommerce.common.payment.dto.PaymentResponseDTO requestHostedEndpoint(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO requestDTO)
throws org.broadleafcommerce.common.vendor.service.exception.PaymentException
requestHostedEndpoint in interface org.broadleafcommerce.common.payment.service.PaymentGatewayHostedServicerequestHostedEndpoint in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayHostedServiceorg.broadleafcommerce.common.vendor.service.exception.PaymentExceptionCopyright © 2024. All rights reserved.