You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the verifyPayment function runs, it successfully ends with:
$this->onPaymentSuccess($row, $transactionId);
In the prcoessPayment function, I can grab the $Itemid by using:
$Itemid = JFactory::getApplication()->input->getInt('Itemid', 0);
Example: $Itemid = 1673
Is this correct?
I'm able to pass this ID back to the verifyPayment by using the url:
option=com_eventbooking&task=payment_confirm&payment_method=gwname&TransactionId=ZTACHCG0&Itemid=(ItemID From processPayment)
Example:
option=com_eventbooking&task=payment_confirm&payment_method=gwname&TransactionId=ZTACHCG0&Itemid=1673
When I load the ItemID loaded from the processPayment in the verifyPayment, $row is returned blank. I'm using this code and it will not load the data:
$id = $this->notificationData['Itemid'];
$row = JTable::getInstance('EventBooking', 'Registrant');
$row->load($id);
How should $row loaded if this is incorrect? Am I loading the Itemid incorrectly from the processPayment?
The text was updated successfully, but these errors were encountered:
That works perfectly. After the verifyPayment function returns true, I'm left at a blank screen. Is there a confirmation page? I also noticed that if I go back to the even booking list, I still have the item in my cart. Is that supposed to be cleared out after the Payment was verified? How is that done?
When the verifyPayment function runs, it successfully ends with:
$this->onPaymentSuccess($row, $transactionId);
In the prcoessPayment function, I can grab the $Itemid by using:
$Itemid = JFactory::getApplication()->input->getInt('Itemid', 0);
Example: $Itemid = 1673
I'm able to pass this ID back to the verifyPayment by using the url:
option=com_eventbooking&task=payment_confirm&payment_method=gwname&TransactionId=ZTACHCG0&Itemid=(ItemID From processPayment)
Example:
option=com_eventbooking&task=payment_confirm&payment_method=gwname&TransactionId=ZTACHCG0&Itemid=1673
When I load the ItemID loaded from the processPayment in the verifyPayment, $row is returned blank. I'm using this code and it will not load the data:
$id = $this->notificationData['Itemid'];
$row = JTable::getInstance('EventBooking', 'Registrant');
$row->load($id);
The text was updated successfully, but these errors were encountered: