Jump to content
Sign in to follow this  
cheetwood

WorldPay not redirecting to site

Recommended Posts

Hi

 

I've read a zillion posts on this but unfortunately can't find one that resolves my issue.

 

Have the latest addon (http://addons.oscommerce.com/info/7151) and the debugger seems to show there are no errors. The callback occurs, but WorldPay do not receive anything back from junior_callback.php.

 

The following condition is not being met in line 78:

 

if ($order['orders_status'] == MODULE_PAYMENT_WORLDPAY_JUNIOR_PREPARE_ORDER_STATUS_ID)

 

(result is 1 == 106)

 

I am a php rookie so I've impressed myself by getting this far.

 

any clues as to where i go from here?

 

Thanks

Share this post


Link to post
Share on other sites
if ($order['orders_status'] == MODULE_PAYMENT_WORLDPAY_JUNIOR_PREPARE_ORDER_STATUS_ID)

is it equal to each other? you need to do the test transaction to see the errors.


Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Share this post


Link to post
Share on other sites

no, they are not equal - but if they were I would be much happier.

 

$order['orders_status'] = 1

MODULE_PAYMENT_WORLDPAY_JUNIOR_PREPARE_ORDER_STATUS_ID = 106

 

I have done several test transactions and get no errors reported:

 

(# redactions)

 

RBS WorldPay Post Values

\nregion :

authAmountString : £60.00

_SP_charEnc : UTF-8

M_sid : #########

desc : Order No: TB508

tel :

MC_callback : ##########

address1 :

countryMatch : Y

address2 :

cartId : 508

address3 :

M_hash : ##################

rawAuthCode : A

lang : en

callbackPW : callback

transStatus : Y

amountString : £60.00

authCost : 60.00

currency : GBP

installation : 270365

amount : 60.00

countryString : United Kingdom

M_lang : english

displayAddress : 5 Test Street

name : AlanLongName Test

transTime : 1319143745963

testMode : 100

ipAddress : 78.145.47.139

fax :

rawAuthMessage : cardbe.msg.authorised

instId : 270365

AVS : 0002

compName : Test Co

M_cid : 6

authAmount : 60.00

postcode : T3 5T

cardType : MasterCard

cost : 60.00

country : GB

authCurrency : GBP

charenc : UTF-8

email : test@test2.com

address : TestStreet

transId : 125409194

msgType : authResult

town :

authMode : A

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×