#app/config/config.ymlpayum:gateways:your_gateway_here:factory:klarna_checkoutsecret:'get this from gateway side'merchant_id:'REPLACE WITH YOUR MERCHANT_ID'sandbox:true
Attention: You have to changed your_gateway_name to something more descriptive and domain related, for example post_a_job_with_klarna.
Prepare payment
Now we are ready to prepare the payment. Here we set price, currency, cart items details and so on. Please note that you have to set details in the payment gateway specific format.
That's it. After the payment done you will be redirect to acme_payment_done action. Check this chapter to find out how this done action could look like.
Payum is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our customers. If you'd like to join them, please consider: