Hi,
I have followed the tutorials on creating a payment module and referred the NullPayment Implementation in demo site in order to create a payment module using paypal java rest sdk. We Only use the Rest API so need to add payment and related info through Rest endpoints.
I use add Payment with following structure.
{
"id":"",
"orderId":"6800",
"type":"CREDIT_CARD",
"billingAddress":{},
"amount":"",
"referenceNumber":"",
"gatewayType":"PAY_PAL_GATEWAY"
}
But how will transactions get added to payments added like this? Is it through a workflow or should I manually add the logic for it ? Currently when i try to checkout it gives a Not Enough Payment and fails.
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.