• Resolved ziadn

    (@ziadn)


    Hello,

    I am using the free version of PayPal Extension and am getting the following error:
    You are not redirected to PayPal as you have not configured PayPal Submit Button properly.”

    This is what I am doing:

    [paypalsubmit email:[email protected] itemamount:75 quantity:1 return_url:https://google.com cancel_url:https://google.com “Donation of $75”]

    What am I doing wrong?

    Note that if I use an ID instead of a fixed amount, I get the following error: “The link you have used to enter the PayPal system contains an incorrectly formatted item amount.”. I read in another thread that I need the paid version to use IDs.

    Thanks,

    Ziad

    https://www.ads-software.com/plugins/contact-form-7-paypal-extension/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Ziad and Support,

    I am having an almost identical problem, and i have additional questions also.

    My snippet for the paypal submit button is like this:
    ‘[paypalsubmit email:[email protected] itemamount:fee itemname:your-name quantity:quantity return_url:https://www.xyz.com cancel_url:https://www.xyz.com “Send”]’

    What am I doing wrong?

    The additional questions are about the itemamount, itemname and quantity fields.

    1 – I would like to use a set amount for the itemamount and the quantity. In another post i read that I can accomplish this by inserting a hidden field – but I tried to insert such fields and the type “hidden” was not recognized – the snippet, which was something like [hidden fee 10], showed up on the page. Can you give example of the syntax for a hidden field?

    2 – I followed the example for itemname – but I keep thinking that it is wrong. The value your-name is the value that comes from the name field of the form – is that correct?

    Plugin Author ZealousWeb

    (@zealopensource)

    Hello,

    This error occurs “You are not redirected to PayPal as you have not configured PayPal Submit Button properly.” when you might not have configured Item Amount Field ID, Item Name Field ID or Quantity field ID..
    Else it works fine.

    You need to set id:fieldid attribute to any of the Contact Form 7 fields and assign that id to itemname, itemamount and quantity field. Static values are not allowed.

    You can refer this documentation for further details,
    https://opensource.zealousweb.com/wp-content/uploads/2015/08/Contact_form_7-PayPal_Extension.pdf

    Hi -this is now marked as resolved, but it is not resolved.
    In the code snippet above I have assigned fields just as you said.

    – itemamount:fee (fee is defined as a number field). The code for fee is:
    [number* fee min:5 max:5 placeholder “5.00”]

    – itemname:your-name (you-name is a text field). The code for your-name is:
    [text* your-name]

    – quantity:quantity (quantity is a number field). The code for quantity is:
    [number quantity min:1 max:1 placeholder:”1″]

    Again – is there something i am doing wrong?

    Thanks so much…

    Plugin Author ZealousWeb

    (@zealopensource)

    Hi krblaker,

    You are missing to add ‘id:’ attribute for these 3 fields, it should be like
    [number* fee min:5 max:5 placeholder “5.00” id:fee]
    [text* your-name id:item]
    [number quantity min:1 max:1 placeholder:”1″ id:quantity]

    And then provide values of this id attribute in paypalsubmit tag.

    Please follow the example given in the documentation here,
    https://opensource.zealousweb.com/wp-content/uploads/2015/08/Contact_form_7-PayPal_Extension.pdf

    Hope this helps you. Please feel free to ask your queries further.

    Thanks,
    ZealousWeb

    Could you please show a picture of the correct settings?

    I’m so confused!

    Please show in a picture how I am supposed to add those 3 fields.

    I read your pdf, but it doesn’t show a picture of the CORRECT settings.

    Thanks.

    Nevermind (a sample was given in the pdf, here it is for all who need it):

    Code given below will help you to set Contact Form 7 with PayPal Extension.
    * Install “Contact Form 7 Modules” plugin to use hidden field with Contact Form 7.
    https://www.ads-software.com/plugins/contact-form-7-modules/
    You can see its demo here, https://opensource.zealousweb.com/demo-page/
    9 | P a g e
    Contact Form 7 – PayPal Extension PRO – User Guide
    Developed by https://www.opensource.zealousweb.com
    <p><label>Name</label>[text* name]</p>
    <p><label>Email</label>[email* email]</p>
    <p><label>PayPal Item</label>[text item id:itemfield]</p>
    <p>[hidden price id:pricefield “20”]</p>
    <p><label>Quantity</label>[radio quantity id:qtyfield “1” “2” “3”]</p>
    <p> [paypalsubmit email:[email protected] itemamount:pricefield
    itemname:itemfield quantity:qtyfield
    return_url:https://opensource.zealousweb.com/contact-form-7-paypal-extension-pro/
    cancel_url:https://opensource.zealousweb.com/contact-form-7-paypal-extension-pro/
    sandbox “View Plugin Demo”] </p>

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Submit Error’ is closed to new replies.