These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Cart payment receipt

I need to process a credit card transaction and use the GatewayRef as the receipt reference. How do I obtain the GatewayRef from a successful CC Payment?

Alternatively, I could process the CC prior to processing the cart and use a MANUAL gateway to write the transaction. However, if I do this, how do I write to the CC_Authorize and Gateway_Ref fields?

I have tried writing to remittance.PaymentToken but this results in a null object reference error. Writing to remittance.CreditCardInformation.AuthorizationCode does nothing.

Any ideas are appreciated.