Fixes for profileId

This commit is contained in:
Benjamin Beganović 2021-08-04 14:40:13 +02:00
parent 4db925104a
commit ba36197757
3 changed files with 4 additions and 3 deletions

View File

@ -30,7 +30,7 @@ class ActivateMolliePaymentDriver extends Migration
$fields = json_decode($mollie->fields);
$fields->testMode = false;
$fields->publicId = '';
$fields->profileId = '';
$mollie->fields = json_encode($fields);

View File

@ -31,7 +31,7 @@ class PaymentLibrariesSeeder extends Seeder
['id' => 4, 'name' => 'FirstData Connect', 'provider' => 'FirstData_Connect', 'key' => '4e0ed0d34552e6cb433506d1ac03a418', 'fields' => '{"storeId":"","sharedSecret":"","testMode":false}'],
['id' => 5, 'name' => 'Migs ThreeParty', 'provider' => 'Migs_ThreeParty', 'key' => '513cdc81444c87c4b07258bc2858d3fa', 'fields' => '{"merchantId":"","merchantAccessCode":"","secureHash":""}'],
['id' => 6, 'name' => 'Migs TwoParty', 'provider' => 'Migs_TwoParty', 'key' => '99c2a271b5088951334d1302e038c01a', 'fields' => '{"merchantId":"","merchantAccessCode":"","secureHash":""}'],
['id' => 7, 'name' => 'Mollie', 'provider' => 'Mollie', 'is_offsite' => true, 'sort_order' => 8, 'key' => '1bd651fb213ca0c9d66ae3c336dc77e8', 'fields' => '{"apiKey":"","publicId":"","testMode":false}'],
['id' => 7, 'name' => 'Mollie', 'provider' => 'Mollie', 'is_offsite' => true, 'sort_order' => 8, 'key' => '1bd651fb213ca0c9d66ae3c336dc77e8', 'fields' => '{"apiKey":"","profileId":"","testMode":false}'],
['id' => 8, 'name' => 'MultiSafepay', 'provider' => 'MultiSafepay', 'key' => 'c3dec814e14cbd7d86abd92ce6789f8c', 'fields' => '{"accountId":"","siteId":"","siteCode":"","testMode":false}'],
['id' => 9, 'name' => 'Netaxept', 'provider' => 'Netaxept', 'key' => '070dffc5ca94f4e66216e44028ebd52d', 'fields' => '{"merchantId":"","password":"","testMode":false}'],
['id' => 10, 'name' => 'NetBanx', 'provider' => 'NetBanx', 'key' => '334d419939c06bd99b4dfd8a49243f0f', 'fields' => '{"accountNumber":"","storeId":"","storePassword":"","testMode":false}'],

View File

@ -11,10 +11,11 @@
class _Mollie {
constructor() {
this.mollie = Mollie(
document.querySelector('meta[name=mollie-publicId]')?.content,
document.querySelector('meta[name=mollie-profileId]')?.content,
{
testmode: document.querySelector('meta[name=mollie-testmode]')
?.content,
locale: 'en_US',
}
);
}