-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Konrad Konieczny edited this page Oct 17, 2023
·
7 revisions
Paytrail graphql module is adding additional data to place order graphql response
if paytrail payment method is selected, module is calling Paytrail service and initiating payment session for the order. after getting payment token, customer is redirected to Paytrail hosted payment page
There is a plugin added, that modifies redirect back url (redirect from payment page after succesfull or canceled payment) based on some settings and upward module status you need to provide pwa storefront url in paytrail settings to make it working Stores -> Configuration -> Sales -> Payment Methods -> Paytrail Payment Service for Adobe Commerce -> PWA Settings
![image](https://private-user-images.githubusercontent.com/51909244/275866523-3fa591c5-e1ee-4d93-aee2-f1561310e88a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTk3MjUsIm5iZiI6MTczOTIxOTQyNSwicGF0aCI6Ii81MTkwOTI0NC8yNzU4NjY1MjMtM2ZhNTkxYzUtZTFlZS00ZDkzLWFlZTItZjE1NjEzMTBlODhhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDIwMzAyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdjNjFkN2U3YjM4OGIzOTA1ZWFjNWY0MzBjYzdlMjU3ZWUyZmQyZDk2NzBiNTI0OTkyNGQwZjBlMjlhNGNkZmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ILyVyI9-KPkVSJ0N7aQnRqa_XkHgs7UDLU-1rhE5FIA)
an example with local dev server