openpesa / php-pesa

Open payment integration toolkit for PHP
https://openpesa.github.io/php-pesa/
MIT License
27 stars 18 forks source link

Problem when switching to env to production #31

Closed emleonstz closed 1 year ago

emleonstz commented 1 year ago

I have instantiated the pesa class with valid production credentials and switch it to production but a problem occurs, it fails to generate the session key if I return the sandbox credentials and switch back to sandbox it works fine

alphaolomi commented 1 year ago

hello @emleonstz

how did you fix this?

emleonstz commented 1 year ago

it works fine I forgot to change the sandbox PK to openapi PK