| @@ -51,9 +51,13 @@ | ||
| 51 | 51 | |
| 52 | 52 | $this->id_base = 'paypal-legacy'; |
| 53 | 53 | $this->name = 'PayPal (Legacy)'; |
| 54 | 54 | |
| 55 | - $this->action_options['is_beta'] = false; | |
| 55 | + // FrmPaymentAction sets option_name to 'frm_paypal_action' using its 'paypal' | |
| 56 | + // id_base. Recompute it from the new id_base so this action does not share the | |
| 57 | + // POST data namespace with the PayPal add-on's 'paypal' action, which would make | |
| 58 | + // both action controls save the same submission and create a duplicate action. | |
| 59 | + $this->option_name = 'frm_' . $this->id_base . '_action'; | |
| 56 | 60 | } |
| 57 | 61 | } |
| 58 | 62 | } |
| 59 | 63 | |