close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

want go directly form Paypal subscribe glitch your plugin

Thread began 1/13/2017 12:14 pm by lr_leal239405 | Last modified 1/19/2017 2:18 pm by Ray Borduin | 295 views | 7 replies |

lr_leal239405

want go directly form Paypal subscribe glitch your plugin

I tried running the Form creator and selected Paypal as the type of form, but it generates it wrong. For example the price is showing up on the FirstName and all the other fields are pushed forward to wrong fields. I wanted to copy the code generated but it's not right. All I wanted to do was after the form is filled out, grab the values and pass it on to Paypal directly to cart. I copied some 'add to cart' script from your scripts and it would pass the price and item values, but not the FirstName, Lastname, etc. Here's my form working with having to go to button and not passing values. http://1-800collision.com/index.php#regme. I don't want an add to cart button or displaying a confirmation. Also it has to link to the Subscribe button, not just make a payment. Can you guys help?

Sign in to reply to this post

Ray BorduinWebAssist

I can help but I'll need you to recreate the page that has the problem so I can look at it and suggest the fix. Currently it looks like you are using a hosted add to cart button for the subscription. I think you can add hidden form elements to add cart details with hosted buttons, but it doesn't even look like you are using a subscription button.

Sign in to reply to this post

lr_leal239405

There's a Paypal Subscription button after the form is filled out. I'd like to skip that and go straight to the Paypal with the Item, Price and other details already filled out in my form. I am attaching an indexx.php file and the payment page file. Thanks. I can give you ftp access.

Sign in to reply to this post

Ray BorduinWebAssist

You should be able to move the form fields and form action from the payments page and have it go straight to paypal.

Just move these into the the form on the index page:

<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="RPMGY2PMZG4NE">

Then you will have to rename the other form fields to match the paypal naming convention. You can see a reference of the fields available here: https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#auto-fill-paypal-checkout-page-variables

Sign in to reply to this post

lr_leal239405

Thanks.That worked. One more question. I added the Universal Email behavior on the same page, but the email was not sent on my test. How do I get it to send the email before it goes to Paypal?

Sign in to reply to this post

Ray BorduinWebAssist

The simple answer is: you can't. The form post will go directly to paypal. If you want to send an email when a paypal payment is made you would have to set an IPN page in your paypal account. Then you can add the email server behavior to the IPN page which will be triggered when a payment is made.

Sign in to reply to this post

lr_leal239405

Well, do you know if having an email sent after Paypal payment is made will send the extra fields on the email? For example the Comment field?

Sign in to reply to this post

Ray BorduinWebAssist

If you name the comments field "custom" it will be passed to the IPN page and can be included in the email. I don't know offhand what is or isn't included in the email from paypal.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...