[ic] custom payment module

Lyn St George lyn at zolotek.net
Mon Sep 12 13:26:54 UTC 2011

On Sunday 11 September 2011 20:48:40 Dan Bergan wrote:
> I am creating a custom payment module (using Lyn's PayPal Express and
> WorldPay modules as starting points.)  I'm having a strange problem
> and I can't figure out what I'm doing wrong.
> A user is sent to the payment provider's web site to enter their
> billing address and payment info. After the credit card is processed,
> the payment site posts data back to interchange (which I save to the
> database), then redirects the user back to my ic site where I submit
> the order, the payment module grabs the previously saved information
> (billing address, payment result) and saves that information to the
> user's Values space.
> All this seems to work just fine -- log_transaction saves the order
> just fine, and the customer information in the Values space (that I
> retrieved in the payment module) are available, but in the receipt
> page, email receipt and my order report, those values are not present.
> Is that expected behavior, or I am making a mistake somewhere?
> Thanks -
> Dan Bergan

The most likely scenario is that you're dropping the session at the point 
where you change to send the emails and display the receipt. Check this first 
by displaying the session id on the page at various points.

Lyn St George

More information about the interchange-users mailing list