START TRANSACTION;

INSERT INTO tblcar_rental_fields(`id`, `key`, `type`, `label`, `source`) VALUES
  (NULL, 'payment_methods_ARRAY_toyyabpay', 'arrays', 'payment_methods_ARRAY_toyyabpay', 'script');

INSERT INTO tblcar_rental_multi_lang(`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
  (NULL, (SELECT LAST_INSERT_ID()), 'pjField', '::LOCALE::', 'title', 'toyyabpay', 'plugin');

INSERT INTO tblcar_rental_fields(`id`, `key`, `type`, `label`, `source`) VALUES
  (NULL, 'plugin_toyyabpay_payment_title', 'frontend', 'toyyabpay plugin / Payment title', 'script');

INSERT INTO tblcar_rental_multi_lang(`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
  (NULL, (SELECT LAST_INSERT_ID()), 'pjField', '::LOCALE::', 'title', 'toyyabpay payment', 'plugin');

INSERT INTO tblcar_rental_fields(`id`, `key`, `type`, `label`, `source`) VALUES
  (NULL, 'plugin_toyyabpay_allow', 'backend', 'toyyabpay plugin / Allow toyyabpay Payments', 'plugin');

INSERT INTO tblcar_rental_multi_lang(`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
  (NULL, (SELECT LAST_INSERT_ID()), 'pjField', '::LOCALE::', 'title', 'Allow toyyabpay payments', 'plugin');

INSERT INTO tblcar_rental_fields(`id`, `key`, `type`, `label`, `source`) VALUES
  (NULL, 'plugin_toyyabpay_merchant_id', 'backend', 'toyyabpay plugin / Merchant ID', 'plugin');

INSERT INTO tblcar_rental_multi_lang(`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
  (NULL, (SELECT LAST_INSERT_ID()), 'pjField', '::LOCALE::', 'title', 'toyyabpay merchant ID:', 'plugin');

INSERT INTO tblcar_rental_fields(`id`, `key`, `type`, `label`, `source`) VALUES
  (NULL, 'plugin_toyyabpay_merchant_id_text', 'backend', 'toyyabpay plugin / Merchant ID Text', 'plugin');

INSERT INTO tblcar_rental_multi_lang(`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
  (NULL, (SELECT LAST_INSERT_ID()), 'pjField', '::LOCALE::', 'title', 'This is your toyyabpay account number.', 'plugin');

INSERT INTO tblcar_rental_fields(`id`, `key`, `type`, `label`, `source`) VALUES
  (NULL, 'plugin_toyyabpay_private_key', 'backend', 'toyyabpay plugin / toyyabpay Secret Word', 'plugin');

INSERT INTO tblcar_rental_multi_lang(`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
  (NULL, (SELECT LAST_INSERT_ID()), 'pjField', '::LOCALE::', 'title', 'toyyabpay secret word:', 'plugin');

INSERT INTO tblcar_rental_fields(`id`, `key`, `type`, `label`, `source`) VALUES
  (NULL, 'plugin_toyyabpay_private_key_text', 'backend', 'toyyabpay plugin / toyyabpay MD5 Hash Text', 'plugin');

INSERT INTO tblcar_rental_multi_lang(`id`, `foreign_id`, `model`, `locale`, `field`, `content`, `source`) VALUES
  (NULL, (SELECT LAST_INSERT_ID()), 'pjField', '::LOCALE::', 'title', 'This is your toyyabpay secret word.', 'plugin');

INSERT INTO tblcar_rental_fields VALUES (NULL, 'payment_plugin_messages_ARRAY_toyyabpay', 'arrays', 'payment_plugin_messages_ARRAY_toyyabpay', 'script', NULL);

INSERT INTO tblcar_rental_multi_lang VALUES (NULL, (SELECT LAST_INSERT_ID()), 'pjField', '::LOCALE::', 'title', 'Your order is saved. Redirecting to toyyabpay payment gateway...', 'script');
COMMIT;