Jump to content


Corporate Sponsors


Latest News: (loading..)

WorldPay not redirecting to site

worldpay redirect junior_callback.php module_payment_worldpay_junio

  • You cannot reply to this topic
2 replies to this topic

#1 cheetwood

  • Community Member
  • 4 posts
  • Real Name:Al
  • Gender:Male

Posted 19 October 2011, 10:59

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

#2 web-project

  • Community Member
  • 4,310 posts
  • Real Name:Alex
  • Gender:Male
  • Location:Hertfordshire, UK

Posted 20 October 2011, 19:02

Quote

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.

#3 cheetwood

  • Community Member
  • 4 posts
  • Real Name:Al
  • Gender:Male

Posted 20 October 2011, 21:22

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