PHP Warning

Message

Invalid argument supplied for foreach()

Error at

app/functions/fn.common.php, line: 8707

Backtrace

File:app/functions/fn.common.php
Line:8707
Function:{closure}
File:app/functions/smarty_plugins/block.styles.php
Line:254
Function:fn_sort_by_ids
File:app/functions/smarty_plugins/block.styles.php
Line:96
Function:fn_get_preload_font_resources
File:app/Tygh/Registry.php
Line:800
Function:{closure}
File:app/functions/smarty_plugins/block.styles.php
Line:98
Function:getOrSetCache
File:var/cache/templates/vivashop/4000435e32c408c8999c80be353652cb2de721b6_2.tygh.styles.tpl.php
Line:155
Function:smarty_block_styles
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php
Line:123
Function:content_64b818b25d6774_61453510
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php
Line:114
Function:getRenderedTemplateCode
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:216
Function:render
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:385
Function:render
File:var/cache/templates/vivashop/b446236750afcb41f7e01f0f5568e3d30f686de6_2.tygh.index.tpl.php
Line:87
Function:_subTemplateRender
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php
Line:123
Function:content_64b818b25795a4_66221531
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php
Line:114
Function:getRenderedTemplateCode
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:216
Function:render
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:238
Function:render
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:116
Function:_execute
File:app/Tygh/SmartyEngine/Core.php
Line:81
Function:fetch
File:app/functions/fn.control.php
Line:632
Function:fetch
File:index.php
Line:25
Function:fn_dispatch

PayPal payment

Admin Admin
06/13/2026
To set PayPal Website Payments Standard account in Merchium:
  1. In the administration panel, go to Administration > Payment methods.
  2. Click the + button on the left.
  3. In the opened window, enter PayPal into the Name text input field, select PayPal in the Processordrop-down select box, enter the necessary description and surcharge values into the corresponding input fields, upload an image if necessary.


  1. In the same window, go to the Configure tab. This will open a section with PayPal settings.
  2. Complete the following fields:
    • Account - your PayPal account login (namely, your email address).
    • Name of the item - the value of the Pay for field, displayed on PayPal web page during the payment (for instance, My shop).
    • Currency - the currency in your PayPal account. If it does not match the base currency in your Merchium settings, please contact Merchium support team.
    • Test/Live mode - select Live. In order to use the Test mode you need to get additional accounts at PayPal Sandbox.
    • Order prefix - any prefix you want invoice IDs to have on PayPal site (optional field) (for instance, mycart).Using the prefix allows to prevent duplicate invoice IDs in case you use the same PayPal account for accepting payment from several websites.
  3. Click the Create button to apply the changes.
Your PayPal account should have the following settings:
  • Instant Payment Notification - off
  • Payment Data Transfer - off
  • Auto Return for Website Payments - off
  • Return URL - blank