• Resolved Pk

    (@paulka)


    Hi there,

    Instead of having only one payment option at checkout, can the customer select whether they want a credit card or masterpass or instant-EFT etc and then gets passed to payfast automatically?

    Currently, the user is passed to the payfast login form but this has been confusing to my customers, can the email already entered not be passed automatically to payfast along with their pre-selected choice of payment gateway?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there!

    The PayFast payment method works as you’ve mentioned: the customer selects PayFast, and then is sent to another screen to select the exact type of payment. That selection is actually handled by PayFast’s engine (background) and isn’t something we can affect from the payment gateway plugin side. I understand why you’re asking – reducing steps for customers is always a good thing.

    I hope that helps you in the right direction!

    Thread Starter Pk

    (@paulka)

    Hi @fernashes

    Thanks for the reply. Perhaps the API has been updated recently, but if you have a look at the payfast API here: https://developers.payfast.co.za/documentation/#checkout-page

    While these fields are optional, it is highly recommended to provide this information (if available) as it is used to pre-populate any forms the user needs to fill in to complete payment. It decreases the time taken to complete the transaction and improves the rate of successful payment completion.

    NAME DESCRIPTION REQUIRED FORMAT
    name_first The buyer’s first name. Optional alphanumeric, 100 char
    name_last The buyer’s last name. Optional alphanumeric, 100 char
    email_address The buyer’s email address Optional alphanumeric, 100 char

    And Also: Set Payment Method

    NAME DESCRIPTION REQUIRED FORMAT
    payment_method When this field is set, only the payment method specified can be used when the buyer reaches PayFast.

    If this field is blank, or not included, then all available payment methods will be shown.

    The values are as follows:

    ‘eft’ – sets eft payment method
    ‘cc’ – sets credit card payment method
    ‘dc’ – sets debit card payment method
    ‘bc’ – sets bitcoin payment method
    ‘mp’ – sets masterpass payment method
    ‘mc’ – sets mobicred payment method
    ‘cd’ – sets cash deposit payment method
    ‘sc’ – sets SCode payment method

    Could these variables be sent to payfast?

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    Thanks for that extra information! That does make it possible, though we’d need to build those kinds of options into the plugin.

    There are a few different options going forward:

    * Add this to our Ideas Board so that we can see what’s important to the community: https://ideas.woocommerce.com/forums/133476-woocommerce
    * Add this to the PayFast plugin Github repo as an enhancement request: https://github.com/woocommerce/woocommerce-gateway-payfast

    These don’t guarantee a change and don’t have a timeline attached. If you’d like to see this happen more quickly, you’re welcome to do it yourself. Alternatively, I recommend contacting one of the services on our customizations page:
    https://woocommerce.com/customizations/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can payment option be selected at checkout?’ is closed to new replies.