Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Naomi C. Bush

    (@naomicbush)

    Please email me here: https://gravityplus.pro/

    Had the same issue, it seems like the table upgrade function isn’t updating a field. My best guess is that the dbdelta function isn’t able to swap primary keys. My wp_rg_stripe table was missing the id field as specified in the database definition on line 23 of class-gfp-stripe-data.php.

    My fix for this was to go to the table wp_rg_stripe and remove the primary key on the form_id field. Then I added a new mediumint(8) field called id and made that autoincrement and set it as a primary key.

    Here are the commands I ran. Note you may have to change the wp_ portion if you have a different table prefix set.

    ALTER TABLE wp_rg_stripe DROP PRIMARY KEY;
    ALTER TABLE wp_rg_stripe ADD id MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY;

    Then you should be able to see any subscriptions you had previously set up. I then had to resave each one before my feeds would start working again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trouble creating Strip feed’ is closed to new replies.