Jump to content
thirty bees forum

Question

Posted

below the output from a payment gateway for prestashop. The shop is migrated to tb 1.03 The problem is that the countrycode get wrong it should be Se and not Sverige. With this wrong the choise invoice will not show Where is this Sverige picked up from?

{"id":null,"status":null,"merchant":{"checkoutUri":"http:\/\/www.jv74.se\/modules\/paysonCheckout2\/validation.php?trackingId=1509969136&idcart=109","confirmationUri":"http:\/\/www.jv74.se\/modules\/paysonCheckout2\/validation.php?trackingId=1509969136&idcart=109","notificationUri":"http:\/\/www.jv74.se\/modules\/paysonCheckout2\/ipnpayson.php?idcart=109","verificationUri":null,"termsUri":"http:\/\/www.jv74.se\/index.php?idcms=3&controller=cms&contentonly=1","reference":109,"partnerId":null,"integrationInfo":"PaysonCheckout2.0_Prestashop|1.0.1.3|1.6.1.999"},"order":{"currency":"SEK","items":[{"discountRate":null,"creditedAmount":null,"imageUri":null,"name":"Strike\/V-stativ Svart RAL 9005","unitPrice":"756.25","quantity":"1","taxRate":"0.250","reference":"7879","type":"physical","uri":null,"ean":null}]},"gui":{"colorScheme":"gray","locale":"SV","verfication":"none","requestPhone":0},"customer":{"city":"V\u00e4llingby","countryCode":"Sverige","identityNumber":"","email":"[email protected]","firstName":"Elena","lastName":"Smolina","phone":"0736329862","postalCode":"16267","street":"Lyckselev\u00e4gen 72","type":"person"}}

8 answers to this question

Recommended Posts

  • 0
Posted

THis is the only place in the module code where the countrycode is. But where is the variable created?

shippingAddress_country = "' . $paymentDetails->customer->countryCode . '"

  • 0
Posted

When you look at the different options in back-office>Localization, do you see Sweden listed, and if so what ID are they? Like in Localization>Countries, do you see Sweden as 18?

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
×
×
  • Create New...