miepiemappie
Forum Replies Created
-
Forum: Plugins
In reply to: [Pronamic Pay] Sisow callback function is being called twiceI’ve add a script that automatically creates an invoice in Moneybird…where else could I add that?
Forum: Plugins
In reply to: [Pronamic Pay] Sisow callback function is being called twiceI solved the issue, I had my custom script placed in the fulfill_order function and after I placed in the update_status function, I get the notification only once. I don’t really inderstand why that is, but it’s working now, so that’s good.
Thanks for the help though!Forum: Plugins
In reply to: [Pronamic Pay] Sisow callback function is being called twiceI implemented the changes myself, so I have set:
case Pronamic_Gateways_IDealAdvanced_Transaction::STATUS_SUCCESS: if ( ! Pronamic_GravityForms_IDeal_Entry::is_payment_approved( $lead ) ) { // Only fullfill order if the payment isn't approved aloready $lead[Pronamic_GravityForms_GravityForms::LEAD_PROPERTY_PAYMENT_STATUS] = Pronamic_GravityForms_GravityForms::PAYMENT_STATUS_APPROVED; self::fulfill_order( $lead ); } $url = $feed->getUrl( Pronamic_GravityForms_IDeal_Feed::LINK_SUCCESS ); break;And I made a new file Entry.php with the code you provided…
I understand your code and I also don’t know why is doesn’t work. Could it be a timing issue, what I mean is, that Sisow is calling twice rapidly after eachother, so the payment status has not yet been updated in the DB before the second call is made?
Forum: Plugins
In reply to: [Pronamic Pay] Callback Sisow failureI implemented the changes, but it still gives me two notifications 🙁
Forum: Plugins
In reply to: [Pronamic Pay] Callback Sisow failureBecause that is where the notifications are being sent. I also put my custom script there for integration with invoice system. Ans I also get two invoices, and so the customer as well 🙁
I think Sisow fixed the issue from before, but now it sends the status twice to the pronamic plugin.
Remco are you reading this?
ThnxForum: Plugins
In reply to: [Pronamic Pay] Callback Sisow failureAnybody else has this problem?
Forum: Plugins
In reply to: [Pronamic Pay] Callback Sisow failureI notice now that the notification emails are being sent twice…Fter research, I found out that the function fulfill_order in AddOn.php is being called twice. Could this still has someting to do with SiSow?
Forum: Plugins
In reply to: [Pronamic Pay] Callback Sisow failurePerfect, thnx!
Forum: Plugins
In reply to: [Pronamic Pay] Callback Sisow failureSame problem here, was working fine before and nothing has changed…