Is it possible to change some of the coding of the payment plug ins? My payment processor (2Checkout) has a coupon option, however it only works if I use the HTML code they provide. I was wondering if it's possible to add it to the existing code on the Membership Pro button so the subscription processes on my site, moving the user from registered to subscriber group, and still utilizes the 2CO code to go to their site and process the checkout utilizing the coupon.
Where in the back end would I locate the plugin code for the checkout button?
For anyone that might have a similar issue, I found what I was looking for in the following path.
/components/com_osmembership/plugins
On line 103 of the os_2checkout.php file, simply replace the "
www2.2checkout.com/2co/buyer/purchase
" with the url portion of the HTML snippet from 2CO's "Buy Now" link.
Once I replaced that and uploaded the php file back to the server, it worked like a charm.
Great. Thanks Dan for sharing the code. Could you please post the URL which you have to change here so that someone who doesn't know programming can use it (they won't have to read the document to find URL of Buy Now button).