Skip to content

[Feature]: Text Reciept #374

Description

@MukhtyarHayer

What problem are you trying to solve?

When using sumup solo devices without api you have the option to give a customer their receipt via email/text but when using sumup cloud api with solo you can only give a receipt by manually going into your dashboard and locating the transaction and then emailing/texting the receipt which is inconvenient.

Proposed solution

from sumup import Sumup

client = Sumup(api_key="API")

result = client.transactions.sendreciept(
"MID",
client_transaction_id="",
client_email="",
client_phone="",
)

print(result)

API = API Key
MID = merchant id
Client_transaction_id = outputted from when checkout is intiiated
client_email = cutomers email
client_phone = customer phone number

We should be able to send customers their receipt via python code it is possible to pull the .png & .svg receipt using result = client.transactions.get( but this would mean having to add your own service in order to text the receipt. So it would be better if sumup could allow us to use their receipt text / email messaging service

Alternatives considered

No response

Use case

It would mean that I would be able to provide customers with their receipt using python code without having to manually give it to them via the sumup dashboard.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions