Parameter | Default | Description |
---|
id | null | Post or Page ID to fetch data from (title / amount) |
amount | null | Amount to fix for charge (if null tries to fetch from current post, or post id) |
product | null | Product or Service name that will appear on the charge, will also work with: title, concept |
currency | null | Currency ISO 3 Chars standard |
type | form | Form/ Button/ Template- should shortcode render a button or a complete form |
target | null | Form target or button A HREF target attribute |
form | legacy | Some predefined forms inclueded in the plugin; Legacy, Bootstrap, Expermintal |
template | null | Template to use as form, relative to theme folder example: theme-payment.php |
amount_field | amount | Custom field to use for amount |
product_field | null | Custom field to use for product name, if null uses post title |
redirect_url | null | Redirect after successful transactions (depending on engine funcionality) |
engine | PayPal | Available Payment Engines |
method | null | Payment method, if supported by engine, some support PayPal, Credit, Debit etc. |
enable_query | false | Enable overwrite of query parameters for product title / amount |