- Posts: 30
- Thank you received: 0
CASYS MACEDONIA
-- 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->cart->full_total->prices[0]->price_value_with_tax);
//$order->order_full_price*100;
$PayToMerchant = $method->payment_params->merchantid;
$MerchantName = 'xxxx';
$AmountCurrency = 'MKD';
$Details1 = '00'.$order->order_id;
$Details2 = $method->payment_params->merchantid;
$PaymentOKURL = $method->payment_params->return_url;
$PaymentFailURL = $method->payment_params->cancel_url;
$FirstName = @$order->cart->$address_type->address_firstname;
$LastName = @$order->cart->$address_type->address_lastname;
$Address = @$order->cart->$address_type->address_street;
$City = @$order->cart->$address_type->address_city;
$Zip = @$order->cart->$address_type->address_post_code;
$Country = @$order->cart->$address_type->address_country->zone_code_3='MKD';
$Telephone = @$order->cart->$address_type->address_telephone;
$Email = $this->user->user_email;
I think that is ok?
Please Log in or Create an account to join the conversation.
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 or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It should give you a warning, not an error.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
$FirstName = $order->cart->$address_type->address_firstname;
Please Log in or Create an account to join the conversation.
$address_type = "billing_address";
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
give me blank email?
Please Log in or Create an account to join the conversation.
$user = JFactory:getUser();
$Email = $user->email;
Please Log in or Create an account to join the conversation.
round($order->cart->full_total->prices[0]->price_value_with_tax,(int)$this->currency->currency_locale)
$user = JFactory:getUser();
give me error//
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
example number G1P51
Please Log in or Create an account to join the conversation.
$Details1 = $f;
But not work.
@$this->element->order_invoice_number;...
Please Log in or Create an account to join the conversation.
You can use var_dump($̂this->element); to visualize the available informations.
Please Log in or Create an account to join the conversation.
i want to get this G1P51
$Details1=->G1P51
Detalis 1 i want to post invoice number
Please Log in or Create an account to join the conversation.
give me blank..... help!
Please Log in or Create an account to join the conversation.
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 or Create an account to join the conversation.