- This topic has 1 reply, 2 voices, and was last updated 4 weeks, 1 day ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Stripe payment plugins for your WordPress site
· ·
Home › Forums › Stripe Payments Plugin › Code suggestion
Hi,
Thanks for your great plugin.
I’d like to make you a suggestion to improve your plugin customization. It would be great if you included an extra parameter into shortcode_atts function in shortcode_accept_stripe_payment function:
public function shortcode_accept_stripe_payment( $atts ) {
$sc_attrs = shortcode_atts(
array(...),
$atts,
'asp_accept_stripe_payment_atts'
);
}
With asp_accept_stripe_payment_atts parameter any programmer could capture shortcode attributes and modify them on-the-fly to fit his requirements.
Thaks for reading.
Regards.
Great suggestion! I’ve added this to the plugin, and it will be included in the next release. In the meantime, you can download an updated version from the following page.