Oops, I’m re-openning this thread because after multiple tests, I see now that the problem come from languages. If I pay by paypal in English, the postage is set, but in French, it’s not.
I absolutely don’t know where to begin to solve that. I show you my config.php but I don’t know if it is related to…
// Settings
c::set('license', 'put your license key here');
c::set('panel.language', 'fr');
c::set('debug',true);
c::set('cache.ignore', array('cart',));
c::set('email.service', 'mail');
// Sitemap plugin
c::set('sitemap.images.license', 'http://creativecommons.org/licenses/by-nc-nd/4.0/');
c::set('sitemap.include.images', true);
c::set('sitemap.include.invisible', false);
c::set('sitemap.ignored.pages', ['informations']);
c::set('sitemap.ignored.templates', ['contact', 'projets']);
c::set('sitemap.frequency', true);
c::set('sitemap.priority', true);
// Languages
c::set('languages', array(
array(
'code' => 'fr',
'name' => 'French',
'locale' => 'fr_FR',
'default' => true,
'url' => '/',
'locale' => array(
LC_COLLATE => 'fr_FR.utf8',
LC_MONETARY => 'fr_FR.utf8',
LC_NUMERIC => 'fr_FR.utf8',
LC_TIME => 'fr_FR.utf8',
LC_MESSAGES => 'fr_FR.utf8',
LC_CTYPE => 'fr_FR.utf8'
)
),
array(
'code' => 'en',
'name' => 'English',
'locale' => 'en_US',
'url' => '/en',
'locale' => array(
LC_COLLATE => 'en_US.utf8',
LC_MONETARY => 'en_US.utf8',
LC_NUMERIC => 'en_US.utf8',
LC_TIME => 'en_US.utf8',
LC_MESSAGES => 'en_US.utf8',
LC_CTYPE => 'en_US.utf8'
)
)
));
/*
---------------------------------------
User roles
--------------------------------------
*/
c::set('roles', array(
array(
'id' => 'client',
'name' => 'Client',
'default' => true,
'panel' => false
),
array(
'id' => 'admin',
'name' => 'Admin',
'panel' => true
)
));
/*
---------------------------------------
Routes
--------------------------------------
*/
c::set('routes', array(
array(
'pattern' => 'logout',
'action' => function() {
if($user = site()->user()) $user->logout();
go('login');
}
)
));