wp_jbusinessdirectory_payments

Static

Stores jbusinessdirectory payments data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑payment_idintNO
order_idintNO
booking_idintYES
processor_typevarchar(100)YES
createdtimestampNO
payment_datedateNO
transaction_idvarchar(80)NO
amountdecimal(12,2)NO
currencychar(5)NO
payment_methodvarchar(100)YES
response_codevarchar(45)YES
messageblobYES
payment_statustinyintNO
typetinyintNO

CREATE TABLE Statement

CREATE TABLE `wp_jbusinessdirectory_payments` ( `payment_id` int NOT NULL AUTO_INCREMENT, `order_id` int NOT NULL, `booking_id` int DEFAULT NULL, `processor_type` varchar(100) DEFAULT NULL, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `payment_date` date NOT NULL, `transaction_id` varchar(80) NOT NULL, `amount` decimal(12,2) NOT NULL DEFAULT '0.00', `currency` char(5) NOT NULL, `payment_method` varchar(100) DEFAULT NULL, `response_code` varchar(45) DEFAULT NULL, `message` blob, `payment_status` tinyint NOT NULL DEFAULT '0', `type` tinyint NOT NULL DEFAULT '1', PRIMARY KEY (`payment_id`), KEY `NewIndex` (`order_id`), KEY `idx_booking_id` (`booking_id`), KEY `idx_processor_type` (`processor_type`), KEY `idx_transaction_id` (`transaction_id`), KEY `idx_payment_status` (`payment_status`) ) ENGINE

Safe to delete?

If you have uninstalled WP-BusinessDirectory – Business directory plugin for WordPress, this table is generally safe to remove. However, always back up your database first.

Note: Some plugins share tables or are dependencies of other plugins. Verify nothing else depends on this table before dropping it.

How to remove this table

DROP TABLE IF EXISTS `wp_jbusinessdirectory_payments`;

Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.

Other tables from WP-BusinessDirectory – Business directory plugin for WordPress