Do you have eCart?
You should be able to use the eCart checkout wizard to create a checkout process that works with powerstore.
I'd get it working on completely separate pages first, then you can try copying and pasting the sagepay information to the powerstore after it all works.