[Skip to main content](#vessel-content)

#   CASYS MACEDONIA

##

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#145412](#145412) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145412 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")* was created by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")*

-- url of the page with the problem -- : [ mkdhost.com/dd](http://mkdhost.com/dd)
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

I have problem with payment when click finish give me blank page.

$AmountToPay = round($order-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax);
//$order-&gt;order_full_price*100;
$PayToMerchant = $method-&gt;payment_params-&gt;merchantid;
$MerchantName = 'xxxx';
$AmountCurrency = 'MKD';
$Details1 = '00'.$order-&gt;order_id;
$Details2 = $method-&gt;payment_params-&gt;merchantid;
$PaymentOKURL = $method-&gt;payment_params-&gt;return_url;
$PaymentFailURL = $method-&gt;payment_params-&gt;cancel_url;
$FirstName = @$order-&gt;cart-&gt;$address_type-&gt;address_firstname;
$LastName = @$order-&gt;cart-&gt;$address_type-&gt;address_lastname;
$Address = @$order-&gt;cart-&gt;$address_type-&gt;address_street;
$City = @$order-&gt;cart-&gt;$address_type-&gt;address_city;
$Zip = @$order-&gt;cart-&gt;$address_type-&gt;address_post_code;
$Country = @$order-&gt;cart-&gt;$address_type-&gt;address_country-&gt;zone_code_3='MKD';
$Telephone = @$order-&gt;cart-&gt;$address_type-&gt;address_telephone;
$Email = $this-&gt;user-&gt;user_email;

I think that is ok?

Last edit: 12 years 8 months ago by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

12 years 8 months ago [\#145420](#145420) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145420 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

Hi,

Turn on the debug mode and error reporting options of the joomla configuration and try again. It will display an error message on your blank page telling you why it doesn't work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#145446](#145446) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  Replied by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145446 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

$lang = &amp;JFactory::getLanguage(); give me this warning

Last edit: 12 years 8 months ago by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

12 years 8 months ago [\#145447](#145447) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145447 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

Hi,

It should give you a warning, not an error.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#145448](#145448) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  Replied by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145448 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

n line 123 Fatal error: Cannot access empty property in
$FirstName = $order-&gt;cart-&gt;$address_type-&gt;address_firstname;

Last edit: 12 years 8 months ago by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

12 years 8 months ago [\#145457](#145457) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145457 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

Yes, you need to add a line before to define $address_type like that:

$address_type = "billing_address";

The following user(s) said Thank You: [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#145458](#145458) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  Replied by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145458 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

what is procedure to add my plugin in hikashop instalation?

Last edit: 12 years 8 months ago by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago [\#145469](#145469) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  Replied by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145469 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

$Email = $this-&gt;user-&gt;user_email;
give me blank email?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

12 years 8 months ago [\#145471](#145471) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145471 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

That's normal. This variable doesn't exist here. You should do instead something like that:
$user = JFactory:getUser();
$Email = $user-&gt;email;

The following user(s) said Thank You: [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#145473](#145473) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  Replied by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145473 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

and how to get currency euro price?
round($order-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,(int)$this-&gt;currency-&gt;currency_locale)

$user = JFactory:getUser();
give me error//

Last edit: 12 years 8 months ago by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago [\#145481](#145481) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  Replied by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145481 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

$user =&amp;JFactory::getUser(); now is ok that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 8 months ago [\#145496](#145496) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145496 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

Hi,
Regarding the currency, reading that [ thread ](http://www.hikashop.com/forum/checkout/865737-only-show-sub-currency-for-paypal.html#143909)will probably help you ![:)](/media/kunena/emoticons/3.png ":)").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago [\#145978](#145978) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  Replied by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145978 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

how to return_url target in blank page?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

12 years 8 months ago [\#145992](#145992) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#145992 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

I don't understand your question. Please provide more context.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago [\#146082](#146082) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  Replied by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#146082 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

how to get invoice number
example number G1P51

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#146085](#146085) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  Replied by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#146085 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

$f=JText::_('INVOICE').': prefix'.@$this-&gt;element-&gt;order_number;

$Details1 = $f;

But not work.

@$this-&gt;element-&gt;order_invoice_number;...

Last edit: 12 years 8 months ago by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

12 years 8 months ago [\#146100](#146100) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#146100 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

So is it ok?
You can use var_dump($̂this-&gt;element); to visualize the available informations.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#146141](#146141) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  Replied by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#146141 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

$Details2 = $order-&gt;order_id; post order id

i want to get this G1P51
$Details1=-&gt;G1P51
Detalis 1 i want to post invoice number

Last edit: 12 years 8 months ago by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")**
- [![mkdhost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/31168-mkdhost "View mkdhost's Profile") Topic Author
- [ Offline](/forum/user/31168-mkdhost)

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#146217](#146217) by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")  Replied by *[mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#146217 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

$this-&gt;product-&gt;product_name;
give me blank..... help!

Last edit: 12 years 8 months ago by [mkdhost](/forum/user/31168-mkdhost "View mkdhost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 8 months ago [\#146229](#146229) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[CASYS MACEDONIA](/forum/29-payment-methods/866126-casys-macedonia#146229 "-- url of the page with the problem -- :   mkdhost.com/dd  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  I have problem with payment when click finish give me blank page.  $AmountToPay = round($order-&gt;cart-&gt;full&#95;total-&gt;prices&#91;0&#93;-&gt;price&#95;value&#95;with&#95;tax); //$order-&gt;order&#95;full&#95;price&#42;100; $PayToMerchant = $method-&gt;payment&#95;params-&gt;merchantid; $MerchantName = 'xxxx'; $AmountCurrency = 'MKD'; $Details1 = '00'.$order-&gt;order&#95;id; $Details2 = $method-&gt;payment&#95;params-&gt;merchantid; $PaymentOKURL = $method-&gt;payment&#95;params-&gt;return&#95;url; $PaymentFailURL = $method-&gt;payment&#95;params-&gt;cancel&#95;url; $FirstName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;firstname; $LastName = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;lastname; $Address = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;street; $City = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;city; $Zip = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;post&#95;code; $Country = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;country-&gt;zone&#95;code&#95;3='MKD'; $Telephone = @$order-&gt;cart-&gt;$address&#95;type-&gt;address&#95;telephone; $Email = $this-&gt;user-&gt;user&#95;email;  I think that is ok?")*

Hi,

Thanks to give more informations, in which view / email do you need to have these values ?
What are the values you need to get ?

As Eliot said, you can use the var_dump() function to see what is present in an object.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxMjYtY2FzeXMtbWFjZWRvbmlhP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.104 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
