AI OnAI Off
So you want to call ProcessPaymentActivity without making changes to inventory system? I guess you are talking about digital content as download code?
Hi Daniel
I have done something similar for digital content only. In (very) short:
ProcessPayments
on the cart, doing authorization. OrderShipmentStatus
on shipment to Released
.OrderShipmentStatus
on shipment to Shipped
.ProcessPayments
on the purchase order, doing capture.
We have implemented a custom payment provicer which works fine when buying with credit card.
We get an Authorization on the payment, and when entering commerce manager and release the shipment and setting the shipment as delivered it triggers a ProcessPayment on the PaymentGateway which makes a capture request to the payment provider for the credit, everything fine so far.
But we have some items that's doesn't need to be shipped, so i tried to set the shipment status as shipped from code as soon the payment is completed, but this doesn't trigger ProcessPayment. Even if i say cart.ProcessPayment my method doesn't seem to be invoked.
Should I do this in some other way or is it another status I can set to call the payment gateway and make a capture request?