php - PayOne Transaction URL -


i send testpayment payone (visa card) , paymentstatus turns in 2 minutes "appointed" "paid", payment process correct.

the string "tsok" needed payone delivered through print("tsok").

how can post vars payone transactionstatus url ?

the payone api documentation not useful here.

i'm not entirely clear asking here, i'll try explain how works own observations.

status changes sent transactionstatus url. post bunch of parameters.

your transaction status handler must save details (all plain strings in $_post) appropriate storage return "tsok" once has done so. must quickly, because end user waiting response when using "front end" (aka hosted form) payment method.

if return other "tsok" payone consider failure @ end, , continue resend message @ intervals until accepted. cannot communicate payone when sends transaction status other say, "got it, thanks!".

when users being redirected around on front end, must keep track of happening in server session. have own transaction id , id generated payone - use transaction status saved database in "back channel" notification.

one last quick note: post data sent payone in transaction status message iso-8859-1 encoded, regardless of encoding used send payment request in first place. if site uses utf-8 - , sites these days - don't forget convert encoding of incoming data. utf8_encode() that.

hope helps.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -