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?
So you want to call ProcessPaymentActivity without making changes to inventory system? I guess you are talking about digital content as download code?
Yes, that's exactly what I want to do. For example, selling a PDF.
I have done something similar for digital content only. In (very) short: