helmutschneider / swish-php

PHP-wrapper for the Swish merchant api
MIT License
40 stars 19 forks source link

Make createPaymentRequest return an object with both the id and any paymentRequestToken #20

Closed dhedberg closed 2 years ago

dhedberg commented 2 years ago

Replaces #8

DanielMalmgren commented 2 years ago

I tried this and it works like a charm for me. Unfortunately I currently have no Swish Merchant prescription so I can't tell if the token actually works (I'm now using the Merchant Swish Simulator), but I guess that's out of the scope of swish-php.

dhedberg commented 2 years ago

@DanielMalmgren Thank you for testing!