Support » Plugin: WPAdverts - Classifieds Plugin » Auto Fill Payments Form

  • sellyk

    (@sellyk)


    Hi,

    If a user is already logged in and making a purchase, is there a way to automatically fill in the ‘Name & Email’ fields in the form? Because they had already provided this during registration i feel its unnecessary for them to fill it in again.

    Or better yet, is there a way for there to be no form and just once the user clicks ‘Place Order’ they are shown the ‘How to Pay’ instructions (Bank Transfer)? Then the email and name they used at registration is automatically picked up on admins ‘Payment history’.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    are you using the WooCommerce Integration or the Payments Module?

    With the Payments Module the name and email should be automatically filled with the data from [adverts_add] by default assuming you have the default contact and email fields in the [adverts_add].

    Hi,

    I’m using the Payments Module.

    I should have mentioned that this is when purchasing a membership, not after creating an ad. So currently when a user clicks ‘Purchase’ on the membership page, the next page that has the name & email field is not automatically filled, even though the are logged in. Could you kindly help me with a snippet that would help automatically fill the fields based on the details the user already inputed during registration?

    Which also brings me to another question: How can i set it so that a user must be logged in before they can purchase a membership?

    Thanks.

    Plugin Author Greg Winiarski

    (@gwin)

    1. the name and email should actually be filled automatically as the memberships purchase page is using the Payments Module form, the same one as the [adverts_add] page. What payment method are you using?

    2. to allow only logged in users to purchase a membership go to wp-admin / Pages panel and trash the page with [wpadverts_memberships_purchase] shortcode, then the users will be only able to purchase the memberships from page with [wpadverts_memberships_manage] which is available only to logged in users.

    Hi,

    1. I’m using the bank transfer method.
    Yes I thought its also weird that it doesn’t autofill. Is there a snippet you can help me with to force it to autofill?

    2.Thats well noted. I’ll give it a try asap.

    Plugin Author Greg Winiarski

    (@gwin)

    I am using the Bank Transfer payment method as well and the contact details are prefilled.

    Send me a message via the contact form at https://wpadverts.com/contact/ i will send you back an update for Memberships extension which should fix it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.