On the Online page in www.mypos.eu, complete these steps to create a New PayButton.
Open The Pay Buttons and Links Page from Online menu
- You should be logged in to your myPOS account at mypos.eu.
- At the top of the page, select Online menu, and then New PayButton at the left side bar.
Create Your Customized Button
- Fill in the Details section:
- Item name (Name of product/service as it’s seen by the customer)
- Item price (Price of a single product/service)
- Total amount of the sale
- Currency (The currency your client will be charged)
- Booking text (Name of the PayButton/PayLink in your myPOS account)
- Website URL (The website where the PayButton/PayLink will be placed)
- Fill in the Customize PayButton section
- Language (language of the PayButton/PayLink)
- Button size (You can choose a desired size of the button)
You can see a PayButton preview bellow
- In the “On payment page ask also for” section, you may want to collect more customer information during the order process. The fields bellow are optional and the requested information will be visible in your Online transactions details and payment confirmation
- Customer name (Name of the customer)
- Customer shipping address (Address of the customer to deliver the product)
- Customer e-mail (E-mail of the customer if you are willing to confirm the order status and payment)
- Customer phone (Phone number of the customer)
- In the “Notify me when the payment is made” section, you can select a method of receiving the payment confirmation. Please note that you will be charged for the text message from your account balance. The e-mails are free of charge.
- Send me an e-mails
- Send me SMS
- In the “Settlement account” section, you will be able to select the account, in which the funds from myPOS PayButtons and PayLinks in the same currency will be settled. You can change the settlement settings at any time.
- Please choose or add new
When you are ready click “Confirm”
Final Preview And Send The PayButton
A new window PayButton settings will appear and you can see there the following information:
- PayButton preview
- PayButton name
- PayButton ID
- PayButton view
- Code (there is a Copy to clipboard button that you can copy and paste into your website)
- Information section
How To Add Your PayButton Code To Your Webpage
You have just created customized HTML code for your button. The final step is to copy the code from this page and paste it into your website editor.
How To Copy The PayButton Code
- Select the whole text with the code.
- Right-click and copy the selected code.
- If you're working with a website developer, you can paste the button code into an email and send it to your developer.
- Or you can paste the button code in your website editor. The code must be pasted in the "code" view, where you can view and edit HTML:
- Start your website editor or administrator page and open the page where you want to add your button.
- Look for an option to view or edit HTML.
- Find the section of the page where you want your button to appear.
- Right-click and paste your button code into the HTML.
- Save and publish the page. (The preview function in your editor may not display the button code correctly.)
- Test the button to make sure it goes to our myPOS payment page.
<form action="http://mypos.eu/vmp/btn/" method="post" target="_blank"> <input type="hidden" name="button_id" value="" /> <input type="image" src="http://mypos.eu/img/vmypos/lg/btn-en.png" border="0" name="submit" alt="Pay" /> </form>
This is how your PayButton would look like.
The FORM tag includes two required attributes, action and method, which always look like this:
<form action="http://mypos.eu/vmp/btn/" method="post" target="_blank">
Important: Do not change these values. These attributes are required for all myPOS PayButtons.
HTML input variables in a myPOS FORM are always hidden from the payer's view. They have the following general format:
<input type="hidden" name="button_id" value="" />
This is the button which the users sees!
<input type="image" src="http://mypos.eu/img/vmypos/lg/btn-en.png" border="0" name="submit" alt="Pay" />
Alternatively if you want the Button to say "PAY NOW" instead of "BUY NOW". Use the code below instead.
<input type="image" src="https://developers.mypos.eu/repository/pay_btn-en.png" border="0" name="submit" alt="Pay" />