Hello, I am developing a plugin for a payment gateway. I need to set up redirection to the payment gateway, where „$ redirectUrl“ is required. Unfortunately, the payment gateway has the restriction that this field must not be longer than 300 characters.
Is it possible somewhere in shopware 6 to set the generated token not to have so many characters?
Example, here is a generated token, and I must not exceed 300 characters (currently the token length is over 600 characters).
http: //shopware620.test/payment/finalize-transaction? _sw_payment_token = eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImp0aSI6IjE1OWY2YTE0OTRhODRiZWM4MzllNzk0NDQ5MzE5NzM2In0.eyJqdGkiOiIxNTlmNmExNDk0YTg0YmVjODM5ZTc5NDQ0OTMxOTczNiIsImlhdCI6MTU5MDU2NzI3OSwibmJmIjoxNTkwNTY3Mjc5LCJleHAiOjE1OTA1NjkwNzksInN1YiI6ImI0OTQwZWMzN2Y5NDRlMjA5YjQ2NmJlMTMxNzJiNTdkIiwicG1pIjoiNThjMGYyMDFiZjJlNDc0Y2ExNDE3MDFiNGY5N2NlNTMiLCJmdWwiOiJcL2NoZWNrb3V0XC9maW5pc2g_b3JkZXJJZD03YTgxMDMwMzQ3YWE0MWIyYTIyYzA0YzFmZjNiMDYyMyIsImV1bCI6IlwvY2hlY2tvdXRcL2ZpbmlzaD9vcmRlcklkPTdhODEwMzAzNDdhYTQxYjJhMjJjMDRjMWZmM2IwNjIzJmNoYW5nZWRQYXltZW50PTAmcGF5bWVudEZhaWxlZD0xIn0.x2vqRskbCnmw6vxkEAkIm3s0AVlU_m5F5wr6qHppZ6g
Hello, I am developing a plugin for a payment gateway. I need to set up redirection to the payment gateway, where „$ redirectUrl“ is required. Unfortunately, the payment gateway has the restriction that this field must not be longer than 300 characters.
Is it possible somewhere in shopware 6 to set the generated token not to have so many characters?
Example, here is a generated token, and I must not exceed 300 characters (currently the token length is over 600 characters).
http: //shopware620.test/payment/finalize-transaction? _sw_payment_token = eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImp0aSI6IjE1OWY2YTE0OTRhODRiZWM4MzllNzk0NDQ5MzE5NzM2In0.eyJqdGkiOiIxNTlmNmExNDk0YTg0YmVjODM5ZTc5NDQ0OTMxOTczNiIsImlhdCI6MTU5MDU2NzI3OSwibmJmIjoxNTkwNTY3Mjc5LCJleHAiOjE1OTA1NjkwNzksInN1YiI6ImI0OTQwZWMzN2Y5NDRlMjA5YjQ2NmJlMTMxNzJiNTdkIiwicG1pIjoiNThjMGYyMDFiZjJlNDc0Y2ExNDE3MDFiNGY5N2NlNTMiLCJmdWwiOiJcL2NoZWNrb3V0XC9maW5pc2g_b3JkZXJJZD03YTgxMDMwMzQ3YWE0MWIyYTIyYzA0YzFmZjNiMDYyMyIsImV1bCI6IlwvY2hlY2tvdXRcL2ZpbmlzaD9vcmRlcklkPTdhODEwMzAzNDdhYTQxYjJhMjJjMDRjMWZmM2IwNjIzJmNoYW5nZWRQYXltZW50PTAmcGF5bWVudEZhaWxlZD0xIn0.x2vqRskbCnmw6vxkEAkIm3s0AVlU_m5F5wr6qHppZ6g
Hey buddy ,
strugelling with same problem , did u find any solutiun?