From b8496cdf7497d42c63e71ac07789eecd3df81cdf Mon Sep 17 00:00:00 2001 From: krzGablo <147171777+krzGablo@users.noreply.github.com> Date: Tue, 14 May 2024 14:14:12 +0200 Subject: [PATCH] Credentials fix in examples (#72) --- examples/CardBasic.php | 6 +++--- examples/CardGate.php | 6 +++--- examples/CardGateExtended.php | 6 +++--- examples/CardNotification.php | 6 +++--- examples/CardPaymentLinkBuilder.php | 6 +++--- examples/CardRefundExample.php | 6 +++--- examples/RecurrentPayment.php | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/examples/CardBasic.php b/examples/CardBasic.php index 31d0fe5..d1d6f99 100644 --- a/examples/CardBasic.php +++ b/examples/CardBasic.php @@ -13,10 +13,10 @@ final class CardBasic extends PaymentCardForms public function __construct() { $this->cardApiKey = 'bda5eda723bf1ae71a82e90a249803d3f852248d'; - $this->cardApiPass = 'IhZVgraNcZoWPLgA'; - $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ'; + $this->cardApiPass = 'IhZVgraNcZoWPLgA1yQcGMIzquVWWrWtJ'; + $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ=='; $this->cardVerificationCode = '6680181602d396e640cb091ea5418171'; - $this->cardHashAlg = 'sha1'; + $this->cardHashAlg = 'sha512'; parent::__construct(); } diff --git a/examples/CardGate.php b/examples/CardGate.php index 514b843..7789beb 100644 --- a/examples/CardGate.php +++ b/examples/CardGate.php @@ -15,10 +15,10 @@ public function __construct() { // This is pre-configured sandbox access. You should use your own data in production mode. $this->cardApiKey = 'bda5eda723bf1ae71a82e90a249803d3f852248d'; - $this->cardApiPass = 'IhZVgraNcZoWPLgA'; - $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ'; + $this->cardApiPass = 'IhZVgraNcZoWPLgA1yQcGMIzquVWWrWtJ'; + $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ=='; $this->cardVerificationCode = '6680181602d396e640cb091ea5418171'; - $this->cardHashAlg = 'sha1'; + $this->cardHashAlg = 'sha512'; parent::__construct(); } diff --git a/examples/CardGateExtended.php b/examples/CardGateExtended.php index 397c16c..eedc8ee 100644 --- a/examples/CardGateExtended.php +++ b/examples/CardGateExtended.php @@ -21,10 +21,10 @@ public function __construct() { // This is pre-configured sandbox access. You should use your own data in production mode. $this->cardApiKey = 'bda5eda723bf1ae71a82e90a249803d3f852248d'; - $this->cardApiPass = 'IhZVgraNcZoWPLgA'; - $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ'; + $this->cardApiPass = 'IhZVgraNcZoWPLgA1yQcGMIzquVWWrWtJ'; + $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ=='; $this->cardVerificationCode = '6680181602d396e640cb091ea5418171'; - $this->cardHashAlg = 'sha1'; + $this->cardHashAlg = 'sha512'; parent::__construct(); } diff --git a/examples/CardNotification.php b/examples/CardNotification.php index c303d28..e9dd7f4 100644 --- a/examples/CardNotification.php +++ b/examples/CardNotification.php @@ -13,10 +13,10 @@ public function __construct() { // This is pre-configured sandbox access. You should use your own data in production mode. $this->cardApiKey = 'bda5eda723bf1ae71a82e90a249803d3f852248d'; - $this->cardApiPass = 'IhZVgraNcZoWPLgA'; - $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ'; + $this->cardApiPass = 'IhZVgraNcZoWPLgA1yQcGMIzquVWWrWtJ'; + $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ=='; $this->cardVerificationCode = '6680181602d396e640cb091ea5418171'; - $this->cardHashAlg = 'sha1'; + $this->cardHashAlg = 'sha512'; parent::__construct(); } diff --git a/examples/CardPaymentLinkBuilder.php b/examples/CardPaymentLinkBuilder.php index b36078d..6715ad6 100644 --- a/examples/CardPaymentLinkBuilder.php +++ b/examples/CardPaymentLinkBuilder.php @@ -45,10 +45,10 @@ final class CardPaymentLinkBuilder extends PaymentCardForms public function __construct() { $this->cardApiKey = 'bda5eda723bf1ae71a82e90a249803d3f852248d'; - $this->cardApiPass = 'IhZVgraNcZoWPLgA'; - $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ'; + $this->cardApiPass = 'IhZVgraNcZoWPLgA1yQcGMIzquVWWrWtJ'; + $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ=='; $this->cardVerificationCode = '6680181602d396e640cb091ea5418171'; - $this->cardHashAlg = 'sha1'; + $this->cardHashAlg = 'sha512'; parent::__construct(); } diff --git a/examples/CardRefundExample.php b/examples/CardRefundExample.php index 5bc326a..0b8f3e3 100644 --- a/examples/CardRefundExample.php +++ b/examples/CardRefundExample.php @@ -13,10 +13,10 @@ public function __construct() { // This is pre-configured sandbox access. You should use your own data in production mode. $this->cardApiKey = 'bda5eda723bf1ae71a82e90a249803d3f852248d'; - $this->cardApiPass = 'IhZVgraNcZoWPLgA'; - $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ'; + $this->cardApiPass = 'IhZVgraNcZoWPLgA1yQcGMIzquVWWrWtJ'; + $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ=='; $this->cardVerificationCode = '6680181602d396e640cb091ea5418171'; - $this->cardHashAlg = 'sha1'; + $this->cardHashAlg = 'sha512'; parent::__construct(); } diff --git a/examples/RecurrentPayment.php b/examples/RecurrentPayment.php index 8d77e55..a1708fc 100644 --- a/examples/RecurrentPayment.php +++ b/examples/RecurrentPayment.php @@ -15,10 +15,10 @@ public function __construct() { // This is pre-configured sandbox access. You should use your own data in production mode. $this->cardApiKey = 'bda5eda723bf1ae71a82e90a249803d3f852248d'; - $this->cardApiPass = 'IhZVgraNcZoWPLgA'; - $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ'; + $this->cardApiPass = 'IhZVgraNcZoWPLgA1yQcGMIzquVWWrWtJ'; + $this->cardKeyRSA = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0NCk1JR2ZNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0R05BRENCaVFLQmdRQ2NLRTVZNU1Wemd5a1Z5ODNMS1NTTFlEMEVrU2xadTRVZm1STS8NCmM5L0NtMENuVDM2ekU0L2dMRzBSYzQwODRHNmIzU3l5NVpvZ1kwQXFOVU5vUEptUUZGVyswdXJacU8yNFRCQkxCcU10TTVYSllDaVQNCmVpNkx3RUIyNnpPOFZocW9SK0tiRS92K1l1YlFhNGQ0cWtHU0IzeHBhSUJncllrT2o0aFJDOXk0WXdJREFRQUINCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ=='; $this->cardVerificationCode = '6680181602d396e640cb091ea5418171'; - $this->cardHashAlg = 'sha1'; + $this->cardHashAlg = 'sha512'; parent::__construct(); }