Developer forum

Forum » Swift » CheckoutHandler templates not available for QuickPay

CheckoutHandler templates not available for QuickPay

Mikkel Hammer
Mikkel Hammer
Reply

Hi DW,

I'm testing a Swift 1.15, and when trying to setup a creditcard payment method with a "QuickPay Payment Window" checkout handler.
There's no templates available out of the box as far as i can tell.



Scroll down to bottom of payment and select the following:


When trying to select a template for both cancel and error templates, nothing is available.
But looking at the path it looks at and comparing to folder, there no "QuickPayPaymentWindow" folder existing (picture below)




And then there's a similar folder structure in the /Design/Swift folder. When and where is that used?
It seems theres a generic ErrorTemplate in there, though i can't selected based on the difference in the paths


And i missing something or is swift missing something :D

Best regards,
Mikkel Hammer
 


Replies

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply
This post has been marked as an answer

Hi Mikkel,

 

I can speak a little into that. You can't directly select the generic error and cancel templates, but if you explore any other Checkout Handler templates (there's 4 of them so far), you'll see that each Checkout handler's cancel and error templates basically point to the generic one (using @Include() )

 

That said, QuickPay templates are not there (at least not yet), but you can use the 4 existing ones as inspiration. A note on that too; notice the "empty dummy" files in Files/Templates/Ecom7CheckoutHandler that have the exact same name. They are required so that you can select the proper template when setting up the payment provider, but then the file (with the same name) within Designs is used.

 

Best Regards,

Nuno Aguiar

Votes for this answer: 1
 
Mikkel Hammer
Mikkel Hammer
Reply

Hi Nuno,

Thanks for the quick answer and explanation! :)

Best regards,
Mikkel Hammer

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

You are welcome Mikkel.

 

You must be logged in to post in the forum