I'm trying to capture funds and fullfil an order but I'm having some issues.
I've build a custom payment with both PaymentGateway Method and Provider.
When the customer finishes the order, PerformAuthorizePayment is called and creates a new reference for payment. When the customer completes the payment, I try to capture the payment on PerformCapturePayment with:
Also, the last parameter in the payment result CalculateTotalOwed(.. should be true to "ApproveOrderCreation" (which will generate an order to be fulfilled). To debug, you could add a LogHelper.Debug entry above this line to log the result so you can check the values in the back office.
Capture and Fulfill
Hello,
I'm trying to capture funds and fullfil an order but I'm having some issues.
I've build a custom payment with both PaymentGateway Method and Provider.
When the customer finishes the order, PerformAuthorizePayment is called and creates a new reference for payment. When the customer completes the payment, I try to capture the payment on PerformCapturePayment with:
The payment is captured. So far so good.
After this I have two problems:
Can someone tell me what I am doing wrong?
Thanks, Pedro
Hey Pedro,
Sorry for the delayed response. I just got back from out of town.
When you step through, does
create a value of
true
Also, the last parameter in the payment result
CalculateTotalOwed(..
should be true to "ApproveOrderCreation" (which will generate an order to be fulfilled). To debug, you could add a LogHelper.Debug entry above this line to log the result so you can check the values in the back office.is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.