By polo on Friday, 08 June 2018
Posted in General Issues
Likes 0
Views 661
Votes 0
Hi,

I want to customize the stripe payment page on payplans, to make some informative and reassuring images appear as you can see on the attached screenshots.

I tried to inject some HTML in this page with some jQuery, but obviously (and fortunately) it seems that Stripe won't allow me to do this ! Do you know which file I need to modify to be able to customize this?


I would also want to display the price the user is paying on this page. Is that doable ?

Best regards,

Paul
Hello,

To customize stripe checkout page, you need to do the changes on below mentioned file.
Root/plugins/payplans/stripe/stripe/app/stripe/tmpl/buyer_details.php or if you are using BS3 templates then Root/plugins/payplans/stripe/stripe/app/stripe/tmpl_bs3/buyer_details.php

Yes, you can show amount also here but it will require changes in code.
See attached screenshot.

Let me know if you have any query.
·
Friday, 08 June 2018 11:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Thanks for this precise answer ! I'm going to take a closer look at it,and I'll tell you if I have any other query !

Best regards,

Paul
·
Friday, 08 June 2018 21:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Your most welcome
·
Saturday, 09 June 2018 00:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Just another question : I've followed the Joomla documentation to override plugins (as I don't want to touch core files) with a tmpl folder :

https://docs.joomla.org/Layout_Overrides_in_Joomla#Plugin_Alternative_Layouts_.28Overriding_a_Plugin.29

So I've created a folder on my_template/html/ called plg_payplans_stripe and I put the but the file from tmpl_bs3 in it, but it don't seems to be taken in account.

Do you know if the override system works with the stripe plugin ? How do I need to name the folder ?

Best,

Paul
·
Sunday, 10 June 2018 00:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Paul,

I am really sorry for the delay of this reply as it is a weekend for us here. You may refer to the guide at https://stackideas.com/docs/payplans/administrators/customizations/template-override on creating template overrides for plugins in PayPlans.
·
Sunday, 10 June 2018 14:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Thanks, and no problem for the delay, this the week end for me too !

I'm sorry that I didn't saw this part of the documentation before (I thought I read this page but probably too quickly ). It works perfectly.

Regarding the $amount variable, I've set it up in the stripe.php file (see screenshot), but I'm getting this error (see other screenshot) when calling the buyer details page, where I've just added this code (see other screenshot )... I've just added the ftp details if you want to have a look...

Best regards,

Paul
·
Sunday, 10 June 2018 20:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Polo,

Sorry for the inconvenience.
Please do the changes as mentioned in attached screen shot and let me know if still issue persist.
·
Monday, 11 June 2018 10:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Manisha,

It works perfectly, thank you very much ! As always Stackideas support is awesome !

I've just another question : do you plan to integrate the stripe api V3 into Payplans ? The UI is really nice...

Best regards,

Paul
·
Tuesday, 12 June 2018 00:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Polo,

Your most welcome.

Currently we have no plan to do this, I've already created ticket for this in our issue tracker.
So we will prioritize this feature during the development process for the next major version of Payplans.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.
·
Tuesday, 12 June 2018 10:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post