Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parsian gateway #217

Merged
merged 4 commits into from
Jan 28, 2024
Merged

Conversation

alissn
Copy link
Contributor

@alissn alissn commented Jan 23, 2024

Hi,

In this PR, I applied some advice from the bank to the parsian gateway. The changes include:

  • Changing the redirect method from POST to GET.
  • Passing the Originator key as the user's phone number (check the key with name such as phone, cellphone, and mobile in the details).

I also added a comment:
The bank suggests that an English description is better.

For further details, you can refer to the documentation.

<s:complexType name="ClientPaymentRequestDataBase">
    <s:sequence>
        <s:element minOccurs="0" maxOccurs="1" name="LoginAccount" type="s:string"/>
        <s:element minOccurs="1" maxOccurs="1" name="Amount" type="s:long"/>
        <s:element minOccurs="1" maxOccurs="1" name="OrderId" type="s:long"/>
        <s:element minOccurs="0" maxOccurs="1" name="CallBackUrl" type="s:string"/>
        <s:element minOccurs="0" maxOccurs="1" name="AdditionalData" type="s:string"/>
        <s:element minOccurs="0" maxOccurs="1" name="Originator" type="s:string"/>
    </s:sequence>
</s:complexType>

If you have any further questions or need more information, please let me know.

@khanzadimahdi khanzadimahdi merged commit 913c7c8 into shetabit:master Jan 28, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants