Tuesday, April 23, 2013

How to Add PayPal to a Flash Site


1. Visit the PayPal website to obtain an image of the payment button you would like to add to your Flash website. This option is located under the 'Merchant Services' tab. You can select a button for either a credit card, donate or buy now option. Once you have located the button you would like to use on your site, right-click on the image and select 'Save As.' Name the image.
2. Log into the 'Control Panel' for your Flash website or open the Flash program you would like to place the PayPal link on.
3. Upload the PayPal button to your flash website. To upload the button, click on your 'File Directory' and select the option to 'Upload.' Wording may vary slightly depending on the program you are using.
4. Select the page of your website that you would like to place the button on. Choose the option to insert an image onto the page. Select the PayPal button that you've previously uploaded.
5. Click on the button inside of your Flash editor after the button has been added to the page. Select the 'Action Script' option for the button.
6. Paste the following code, including the quotations and brackets, inside of the Action Script window.on(press) {
getURL('Paste the link for your PayPal gateway here');
}Note that after pasting the code exactly as shown, you must replace the text that is in quotations with the actual link for your PayPal payment gateway. This link can be found under the 'Merchant Services' tab of your PayPal account.
7. Save the edited Flash page. Click on the PayPal button to ensure that it is working properly.

No comments:

Post a Comment