Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.


cheetwood

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

Link to comment
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.

Link to comment
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 : [email protected]

address : TestStreet

transId : 125409194

msgType : authResult

town :

authMode : A

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...