I am writing a Commerce payment provider for GlobalPayments HPP
I have it working, using our own embedded iFrame, but would like to do step 3 “Process the HPP response” but don’t know where I should be doing it - assuming it’s possible of course.
I am writing a Commerce payment provider for GlobalPayments HPP
I have it working, using our own embedded iFrame, but would like to do step 3 “Process the HPP response” but don’t know where I should be doing it - assuming it’s possible of course.
This would generally be handled by the payment providers ProcessCallback
method. You can consider this a general request handler to handle a request from the payment gateway and to process any information it sends back (think a webhook handler).
From that method you can process the request body and extract the transaction ID and it’s payment status and return it to Umbraco Commerce.
It might help to look at the code of an existing payment provider to see how it does it. I think the Buckaroo one is probably simple enough to figure out Umbraco.Commerce.PaymentProviders.Buckaroo/src/Umbraco.Commerce.PaymentProviders.Buckaroo/BuckarooOneTimePaymentProvider.cs at main · umbraco/Umbraco.Commerce.PaymentProviders.Buckaroo · GitHub
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.