Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2012
    Posts
    9
    Plugin Contributions
    0

    Default Changing the payment method in the sermepa module to Credit Card only

    Hello,
    I currently have the sermepa payment module up and running, and its offering my costumers the option to pay with Card & bank transfer, but we wish to have them pay only with card so the technical support said that we can control this by folloing this: "...Puede enviarnos el parámetro Ds_Merchant_PayMethods con uno de estos tres valores:

    T = Pago con Tarjeta
    R = Pago por Transferencia
    D = Domiciliacion...."

    No need to understand Spanish, they just said we should add the parameter Ds_Merchant_PayMethods to the module and select T for Credit Card...
    I tried adding it like this:
    PHP Code:
    $ds_merchant_order="1".time();
          
    $ds_merchant_data=zen_session_id();
          
    $total=$order->info['total'];             
          
    $ds_merchant_amount round($total*$order->info['currency_value'],2);
          
    $ds_merchant_amount number_format($ds_merchant_amount2'.''');
          
    $ds_merchant_amount preg_replace('/\./'''$ds_merchant_amount);
          
    $ds_merchant_currency MODULE_PAYMENT_SERMEPA_CURRENCY;
          
    $ds_merchant_terminal MODULE_PAYMENT_SERMEPA_TERMINAL;
          
    $ds_merchant_transactiontype MODULE_PAYMENT_SERMEPA_TRANSACTION_TYPE;
          
    $ds_merchant_consumerlanguage "001"
          
    $ds_Merchant_PayMethods "T"
    since that is the only place in the module that I saw ds_... I also tried 'T',"t" and 't' but this didn't work how and were exactly should I add this?

    Thanks!

    Thanks!

  2. #2
    Join Date
    Jun 2012
    Posts
    9
    Plugin Contributions
    0

    Default Re: Changing the payment method in the sermepa module to Credit Card only

    I solved this one via the bank's office, they just took the transfer option out, but it would still be nice to know how i could have added this parameter :)

  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Re: Changing the payment method in the sermepa module to Credit Card only

    without knowing the module at all, while you have assigned a variable the T value, you still have to send it to the gateway along with all the other parameters, probably created in function process_button.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

 

 

Similar Threads

  1. v138a How can i have two languages using the sermepa payment module?
    By zand in forum Addon Payment Modules
    Replies: 1
    Last Post: 13 Jun 2012, 11:56 PM
  2. Replies: 5
    Last Post: 29 Nov 2010, 06:28 AM
  3. Can I use the Offline Credit Card Module for USA only?
    By BettyBoop28 in forum General Questions
    Replies: 2
    Last Post: 27 Jan 2010, 04:24 PM
  4. Why do I have credit card fields when the credit card module is not enabled?
    By RayDube in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 8 Jan 2009, 07:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg