Hello
Right now i am using the stripe payment in suiteCRM application.
I want to add invoice look up and the currency dropdown in that form.
How can i add this two field in that form ?
i attached screen short also in that form i add thsi two fields.
Many ThanksâŚ
Will
12 November 2014 10:36
2
Hi Phil,
Is this a plug-in or something that you have developed?
Were you able to resolve your issue?
Thanks,
Will.
pgohil
14 November 2014 06:34
3
Hello will
Actually i find the similar solution.
I place the Make Payment button in invoice dropdown menu. By doing this i solve my problem.
1 Like
Dear pgohil,
could you post the details on how you achieved this so that also others can benefit from your finding?
Thanks!
pgohil
14 November 2014 14:45
5
Hello All
Paste this code in top of following location.
/custom/modules/AOS_Invoices/metadata/detailviewdefs.php
$json = file_get_contents(âmodules/sc_StripePayments/config.phpâ);
$settings = json_decode($json, true);
//<script type=âtext/javascriptâ src=âmodules/sc_StripePayments/v2.jsâ>
//<script type=âtext/javascriptâ src=âhttps://js.stripe.com/v1/ â>
$button_code = "
<script type=âtext/javascriptâ src=âmodules/sc_StripePayments/v2.jsâ>
<script type=âtext/javascriptâ>Stripe.setPublishableKey(â".$settings[âpublishable_keyâ]."â);
<script type=âtext/javascriptâ src=âmodules/sc_StripePayments/payment_form.js?v=â.time()."">
";
echo $button_code;
1 Like
Thanks for sharing, this is great - does this still work with recent updates - Stripe and Suite? sc_StripePayments is this: https://github.com/superlativecode/Stripe-SugarCRM/tree/master/SugarModules/modules/sc_StripePayments I assume?
Really appreciate you sharing this as I might implement in the next month or so.
jstephenson,
Were you able to deploy stripe payment solution with suitecrm? I would like to do the same for my installation.
Thanks
Hello,
I copied the file onto the custom/metadata folder and added the code you used but it didnât really work as I expected. Could you have some time to go over how you got yours working? Thank you.