payment option issues

Discussion in 'Troubleshooting' started by zenpig66, Jan 10, 2009.

  1. zenpig66

    zenpig66 aMember Pro Customer

    Joined:
    Jan 1, 2009
    Messages:
    72
    I must be missing something basic ;)

    I just got done importing about 1300 users along with their PayPal subscriptions into AMember....these subscriptions were created using the standard "subscription button" and AMember is actually doing a good job dealing with these when PayPal sends renewals in. I have the basic PayPal plugin enabled.

    I want to start using the PayPal Pro plugin for all new subscriptions that are created and the problem I am running into is with both the Pro and standard PayPal plugins running. I am assuming that for AMember to continue working with the old subscriptions that the basic plugin needs to be on. Now, with both PayPal plugins going, it shows all subscription options with the basic subscription option that I no longer want, the Pro which is fine and also cc signups which is fine...need to figure out how to get rid of the basic showing up in signup.php.

    I thought "Assign paysystem to product" would work but with PayPal Pro AMember splits that into two separate payment methods...the default "checkout with PayPal" for payments via PayPal and "credit cards" for those who want to pay directly(via Pro) with credit cards. In other words, I want both of those to show up only but with the two plugins going(standard PayPal plugin and the PayPal pro plugin) AMember treats it as three paysystems.

    I also thought that using signup.php?hide_paysys=PayPal would work but it doesn't appear to. It just gives a signup.php without any payment options.

    Any ideas? I have the old regular PayPal plugin on to handle old subscriptions but don't want any new ones created with it. I have PayPal Pro on for new ones for both credit card payments and via a customers PayPal accnt. Just don't want the old subscription method showing as an option in signup.php. Perhaps an edit to signup.php where the old PayPal method can be forced to be hidden but not sure which path to take there.

    thanks,
    Steve
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Probably the simplest way is to hard code the payment system into the signup form.

    David
  3. zenpig66

    zenpig66 aMember Pro Customer

    Joined:
    Jan 1, 2009
    Messages:
    72
    yeah, that's what I ended up doing.

    Code:
    {* Select Payment System in same way, only if its count > 1 *}
    {if $smarty.request.hide_paysys }
        <input type="hidden" name="paysys_id" value="{$smarty.request.hide_paysys|escape}">
        <input type="hidden" name="hide_paysys" value="{$smarty.request.hide_paysys|escape}">
    {else}
    {if $config.product_paysystem}
    {assign var="paysys_id_not_required" value="1"}
    {else}
    <tr>
        <th>#_TPL_SIGNUP_PAYSYS# *</th>
        <td>
            
            <input type="radio" id="paysys_idpaypal_pro" name="paysys_id" value="paypal_pro"/>
            <label for="paysys_idpaypal_pro"><b>Checkout with PayPal</b>
    		<span class="small">Fast, Secure Checkout with PayPal.<br />Save time. Checkout securely. Pay without sharing<br />your financial information.</span></label><br /><br />
    		
    		<input type="radio" id="paysys_idpaypal_pro_cc" name="paysys_id" value="paypal_pro_cc"/>
    		<label for="paysys_idpaypal_pro_cc"><b>Credit Card Payment</b>
    		<span class="small">Pay with Visa, MC, Discover or Amex credit card</span></label><br /><br />
            
        </td>
    </tr>
    {/if}
    {/if}
    I just put straight html instead of the smarty code..still testing it but it seems to work fine. And, just in case anyone else runs into the same situation, paypal_r does need to be on to handle the old subscriptions. still don't know why signup.php?hide_paysys=paypal_r wouldn't work to where no paysystems show but perhaps the underscore doesn't get parsed in the url? From the way I understood it using that url should show all other paysystems like paypal_pro and paypal_pro_cc but am thinking it's instead just not showing all "paypal" because of the way the underscore is handled. dunno...if I get motivated I guess I could activate something like authorize.net just to see.
  4. awylie

    awylie aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    41
    The same occurs to me when I try to hide any of the payment methods. I use Authorize AIM and SIM and Offline.

Share This Page